Hi,

I have been having a hard time succesfully building boost in my machine. I have Mac 10.4.11, and I downloaded boost_1_39_0. The error is below. Thanks in advance for any help!

gcc.link.dll /Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/libboost_regex-gcc40-mt-1_39.dylib
i686-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
/usr/bin/ld: unknown flag: -h
collect2: ld returned 1 exit status

    "g++"    -o "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/libboost_regex-gcc40-mt-1_39.dylib" -Wl,-h -Wl,libboost_regex-gcc40-mt-1_39.dylib -shared -Wl,--start-group "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/c_regex_traits.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/cpp_regex_traits.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/cregex.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/fileiter.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/icu.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/instances.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/posix_api.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/regex.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/regex_debug.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/regex_raw_buffer.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/regex_traits_defaults.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/static_mutex.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/w32_regex_traits.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/wc_regex_traits.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/wide_posix_api.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/winstances.o" "/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/usinstances.o"  -Wl,-Bstatic  -Wl,-Bdynamic  -Wl,--end-group -Wl,--strip-all

...failed gcc.link.dll /Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi/libboost_regex-gcc40-mt-1_39.dylib...
...skipped <pstage/lib>libboost_regex-gcc40-mt-1_39.dylib for lack of <p/Users/carolina/tools/boost_1_39_0/bin/boost/bin.v2/libs/regex/build/gcc-4.0.1/release/threading-multi>libboost_regex-gcc40-mt-1_39.dylib...
...skipped <pstage/lib>libboost_regex-gcc40-mt.dylib for lack of <pstage/lib>libboost_regex-gcc40-mt-1_39.dylib...

Thanks!
Carolina