Subject: [Boost-build] Cross compiling boost library for VxWorks
From: TRISHNA MOHANTY (mohanty.trishna_at_[hidden])
Date: 2012-03-12 03:08:28
I am trying to cross compile the boost c++ library for VxWorks on Windows
After running bootstrap.sh, I configured the project-config.jam for my
cross compiler settings such,
using gcc : ppc : "<path to cross compiler on windows>" ;
Then i went on to execute
./b2 toolset=gcc-ppc target-os=linux --with-test
This was the recurrent message that I got for subsequent targets as they
were being modified...
ccppc.exe: unrecognized option '-pthread'
ccppc.exe: envirnoment variable "WIND_BASE" not defined
Environment variables WIND_LIB_PROXY and/or WIND_HOME not set
I thought passing threadapi=pthread as an option such,
./b2 toolset=gcc-ppc target-os=linux -threadapi=pthread
in addition to setting the mentioned required environment variables would
solve the problem but the output remained the same.
Can anyone tell me what to do to get this working ?
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