Boost logo

Boost-Build :

Subject: [Boost-build] Cross-compiling with cygwin
From: Christian Auby (christian_at_[hidden])
Date: 2009-10-06 06:16:43


I have a cygwin-based GCC arm cross compiler, more specifically:

http://www.embeddedarm.com/software/software-arm-linux.php
Cygwin Crosstool gcc-3.3.4-glibc-2.3.2

I've set up arm-7800 in user-config.jam like this:
using gcc : 7800 : arm-unknown-linux-gnu-g++ ;

and try to build boost with:
bjam --toolset=gcc-7800 --target-os=linux --threadapi=pthread

All files fail with:

cc1plus: error: invalid option `threads'
cc1plus: error: unrecognized option `-Winvalid-pch'

Is there an option I need to add? or something else...

regards,

Christian


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