Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-12-08 23:27:11


Yuguang Xiong wrote:
> First of all, Boost 1.32.0 can be compiled correctly
> in IA32 platform without any problems.
>
> But when I tried to compile it on Itanium2 system, I
> ran into the following problem:
>
> I issued the standard building command:
>
> bjam "-sTOOLS=gcc" install
[cut]
> "Compiler threading support is not turned on. Please
> set the correct command lin
> e options for threading: -pthread (Linux), -pthreads
> (Solaris) or -mthreads (Min
> gw32)"

Ouch :-(

> Since my Itanium2 runs RHEL 3.0 with the standard GCC
> 3.2.3, the same version of the GCC that I used to
> compile Boost in RHEL 3.0 on IA32 platform, I don't
> understand why this error happened.

Neither do I since the default for the Boost.Build gcc toolset is to add
"-pthread" to the gcc options.

> Could anyone tell me how to get Boost 1.32.0 compiled
> smoothly on Itanium2 machine? Any information are
> greatly appreciated!

Run "bjam -n -sTOOLS=gcc". This will show you what the build commands t
wants to execute. This way you can verify that the -pthread option is
included. If it is, I really don't know what to do :-( If it's not in
there do a "uname" if it's any of SunOS, BeOS, Darwin, IRIX, or HP_UX
then we have a problem as the uname would be reporting the wrong thing.
By the way those options are added in
boost-root/tools/build/v1/gcc-tools.jam on lines ~100 >> 150, you could
try forcing adding the option.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

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