Boost logo

Boost-Build :

Subject: [Boost-build] Unable to build Boost libraries with GCC for ARM Linux
From: Alistair Lowe (ali_lowe_at_[hidden])
Date: 2011-10-02 21:18:34


Hi guys,

 

I'm cross-compiling Boost for a Linux distro on an ARM board. I'm using
windows with Boost 1.47.

My project-config.jam contains the following:

import option ;

using gcc : arm : "C:/Program Files (x86)/CodeSourcery/Sourcery G++
Lite/bin/arm-none-linux-gnueabi-g++" ;
 
option.set keep-going : false ;

And I'm building with the command:

bjam toolset=gcc-arm target-os=linux

Whilst .o objects are building just fine, .a builds are failing usually with
something like:

"C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin"

"bin.v2\libs\wav
e\build\gcc-arm\release\link-static\target-os-linux\threading-multi\libboost
_wav e-gcc-mt-1_47.a"

...failed gcc.archive
bin.v2\libs\wave\build\gcc-arm\release\link-static\target-
os-linux\threading-multi\libboost_wave-gcc-mt-1_47.a... ...skipped
libboost_wave-gcc-mt-1_47.a for lack of libboost_wav e-gcc-mt-1_47.a...
...failed updating 23 targets... ...skipped 28 targets... ...updated 641
targets...

I am also getting quote a few of the following error messages:

'"C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin"' is not
recognized as an internal or external command, operable program or batch
file.

Any ideas guys?

Many thanks



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