Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-06-27 16:31:50


Continuing with building at the root for trunk... The math library fails
to build for my on MacOSX with Xcode (3.1-beta7) with this error:

darwin.compile.c++
bin.v2/libs/math/build/has_long_double_support.test/darwin-4.0.1/release/architecture-combined/macosx-version-min-10.3/macosx-version-10.5/threading-multi/has_long_double_support.o
libs/math/build/has_long_double_support.cpp:5:2: error: #error "long
double support not enabled"
lipo: can't figure out the architecture type of: /var/tmp//ccouTTrW.out

     "/Developer/Xcode-3.1-beta7/usr/bin/g++-4.0" -ftemplate-depth-128
-O3 -finline-functions -Wno-inline -Wall -fPIC -mmacosx-version-min=10.3
-dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -isysroot
/Developer/Xcode-3.1-beta7/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc
-DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/math/build/has_long_double_support.test/darwin-4.0.1/release/architecture-combined/macosx-version-min-10.3/macosx-version-10.5/threading-multi/has_long_double_support.o"
"libs/math/build/has_long_double_support.cpp"

The problem is that the Jamfile for the math lib is doing a compile
test. That seems like a bad idea to me if there's no purpose other than
to just do the test.

So, is there a good reason for doing that test during build?

PS. It makes it a PITA to test building Boost before merging to release
with such things going on!

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk