Boost logo

Boost-Build :

From: Paul (elegant_dice_at_[hidden])
Date: 2008-07-02 08:04:46


2008/7/2 Vladimir Prus <ghost_at_[hidden]>:

> On Wednesday 02 July 2008 11:21:01 Paul wrote:
> > Hi,
> >
> > How do you set the target-os ?
> >
> > I'm cross-compiling on linux, for the windows platform.
> >
> > I wrote this in the user-config.jam file:
> >
> > using gcc : : /home/paul/mingw/bin/mingw32-g++ : <target-os>windows
> > <os>windows ;
> >
> > and i ran jam like so:
> > ./tools/jam/src/bin.linuxx86/bjam --user-config=user-config.jam
> > --toolset=gcc --debug-building --target-os=windows
>
> Remove "--" before "target-os". Also, to avoid future confusing, remove
> "--" before "toolset".
>
> - Volodya
>

Hi Volodya,

Thanks for that, finally its taking notice...
But, why does it still want to link to pthreads? And a windows-targeted
build should not use -fPIC

this was printed out when using --debug-build:
  Build properties: SNIP <target-os>windows <threadapi>pthread

thanks,
Paul



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