|
Boost Users : |
Subject: [Boost-users] Building boost 1.38 on mac os X
From: Alain Leblanc (aalebl_at_[hidden])
Date: 2009-03-01 13:50:37
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net