Message: 1 Date: Wed, 16 Sep 2009 17:04:46 +0400 From: Vladimir Prus
To: boost-users@lists.boost.org Subject: Re: [Boost-users] building boost 1_33_1 now 1_37_0 Message-ID: Content-Type: text/plain; charset=us-ascii Dan Smithers wrote:
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.
So, is there anything that still needs to be solved?
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,
Do you actually have file named /usr/lib/pthread.h? That is very strange location for a header file.
no, it's in /usr/include I am working on a computer that is not connected to the internet and had type the email.
I have written a short test program that includes pthread.h and that compiles.
Anyway, it does not seem like anything wrong is passed to icpc. So, this error suggests that it's not installed correctly, or some other configuration issue. Do docs for the intel compiler say anything about gcc version that is required?
Nothing wrong is passed, but it doesn't compile. I don't have this problem building the non-boost code. thanks dan