Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiling for Solaris X64
From: Iskandar Prins (iprins_at_[hidden])
Date: 2010-03-22 12:43:02


I'm running into the following problem with boost on solaris x64: g++ spits the following error out:

In file included from ./Lib/boost/boost/thread.hpp:14,
                 from main.cpp:2:
./Lib/boost/boost/thread/condition_variable.hpp:18:2: #error "Boost threads unavailable on this platform"
In file included from ./Lib/boost/boost/thread.hpp:17,
                 from main.cpp:2:
./Lib/boost/boost/thread/once.hpp:18:2: #error "Boost threads unavailable on this platform"
In file included from ./Lib/boost/boost/thread.hpp:17,
                 from main.cpp:2:

It seems that solaris x64 is not supported for boost threads, however when I look into the boost/thread/detail/platform.hpp it should be supported.

Any idea why this is?

-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Friday, March 19, 2010 16:50
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Compiling for Solaris X64

Iskandar Prins wrote:

> Hi All,
>
> I need some help with compiling boost for solaris x64. When I try to compile the bjam, I get a x86

x86 build of bjam itself is fine.

> version of bjam and boost, any idea what setting/flag I need to use on bjam?

Use

        bjam address-model=64

- Volodya

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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