Building boost 1.38 on mac os X
Hi, I'm having problems (again) building boost on mac OS X 64-bit. Once again specifying architecture=x86 address-model=64 to bjam gives me a message that my cpu does not support the x86-64 instruction set. I was getting the same message with boost 1.34, and it was fine for boost 1.36. I tried getting around the problem by adding cxxflags=-m64 to the bjam execution, but then I get the message at the bottom. Invoking bjam with no option will build everything fine, but it looks like it is a 32-bit build. Did anyone have a same issue and manage to solve it? thanks, a "g++" -o "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/libboost_math_c99l-gcc40-mt-1_38.dylib" -Wl,-h -Wl,libboost_math_c99l-gcc40-mt-1_38.dylib -shared -Wl,--start-group "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/acoshl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/asinhl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/atanhl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/cbrtl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/copysignl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/erfcl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/erfl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/expm1l.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/fmaxl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/fminl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/fpclassifyl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/hypotl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/lgammal.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/llroundl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/log1pl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/lroundl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/nextafterl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/nexttowardl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/roundl.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/tgammal.o" "bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/truncl.o" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -Wl,--strip-all ...failed gcc.link.dll bin.v2/libs/math/build/gcc-4.0.1/release/threading-multi/libboost_math_c99l-gcc40-mt-1_38.dylib... gcc.link.dll bin.v2/libs/program_options/build/gcc-4.0.1/release/threading-multi/libboost_program_options-gcc40-mt-1_38.dylib ld: unknown option: -h collect2: ld returned 1 exit status
It seems to work, so far. Thanks.
I guess I thought that invoking bjam from the root of my boost
directory would cause bjam to read the user-config.jam file located in
this directory, which contains a line that says
using darwin ;
Probably I was wrong on that.
a
2009/3/1 Steven Watanabe
AMDG
Alain Leblanc wrote:
I'm having problems (again) building boost on mac OS X 64-bit. Once again specifying
...failed gcc.link.dll
ld: unknown option: -h
Use toolset=darwin.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Alain Leblanc wrote:
It seems to work, so far. Thanks.
I guess I thought that invoking bjam from the root of my boost directory would cause bjam to read the user-config.jam file located in this directory, which contains a line that says
using darwin ;
Probably I was wrong on that.
You was, see: http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html - Volodya
participants (3)
-
Alain Leblanc
-
Steven Watanabe
-
Vladimir Prus