From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-01-13 00:20:35
Uwe Sander wrote:
> Hi David,
> okay, I am here, as you requested :-) What I have to do to force the build
> using the cross platform toolkit is 1) modify the used binaries for compiling
> and linking (should be easy, I can set the environment vars which are read by
> bjam) and 2) modify some flags (replace -pthread with -mthreads for example)
> and I do not know how to do that.
> As far as I can see from the gcc.jam file, it seems not to be possible to
> replace that threading flag w/o changing the gcc.jam file or writing a new
> toolset, or am I wrong?
I'd suggest attempting to use the mingw toolset in Linux. Since it extends the
gcc toolset, and sets the -mthreads for you, it might work as is.
You will have to copy and modify it of course. First off to prevent the
-pthread you can convince the gcc tools that it's on a windows platform. Just add:
local NT = 1 ;
..before the "extends-toolset gcc" line.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk