2008/7/2 Vladimir Prus <ghost@cs.msu.su>:
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