Boost logo

Boost Users :

Subject: Re: [Boost-users] building boost 1_33_1 now 1_37_0
From: Dan Smithers (dan_at_[hidden])
Date: 2009-09-16 06:01:40


>>
>> How do I change the includes in jam?
>
> Sorry, I don't understand the above. Boost.Build does not pass any
> "intel includes" nor any "gcc 2.95 includes". Can you provide the commands
> lines and errors in question and explain how exactly the command lines
> should be altered.

I've now found that as long as I make sure that gcc 3.4.3 is ahead of
2.95 in the search path I can get past the first hurdle.

The command line that comes out is

"icpc" -c -xc++ -O3 -Ob2 -w1 -fPIC -DBOOST_ALL_NO_LIB=1
-DBOOST_MATH_TR1_DYN_LINK -DNDEBUG -I"." -c -o
"bin.v2/libs/math/build/intel-linux-release/threading-multi/hypot.o"
"libs/math/build/../src/tr1/hypot.cpp"

/usr/lib/pthread.h(163): error: expected a ")"
  extern int pthread_create(pthread_2 *__restrict __thread,
                                                  ^

I have written a short test program that includes pthread.h and that
compiles.

thanks

dan


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