Subject: Re: [Boost-build] Unable to build Boost libraries with GCC for ARM Linux
From: Alistair Lowe (ali_lowe_at_[hidden])
Date: 2011-10-03 16:54:06
By now I wouldn't have expected this but it turns out that elements of the
compile script didn't like an address with spaces!
It's now compiling .a libraries.
From: Vladimir Prus [mailto:ghost_at_[hidden]]
Sent: 03 October 2011 19:16
Cc: Alistair Lowe
Subject: Re: [Boost-build] Unable to build Boost libraries with GCC for ARM
On Monday, October 03, 2011 05:18:34 Alistair Lowe wrote:
> 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"
> t _wav e-gcc-mt-1_47.a"
> ...failed gcc.archive
> 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?
Please open tools/gcc.jam, locate the line that say:
toolset.flags gcc.archive .AR $(condition) : $(archiver) ;
and add, after it, the following:
ECHO "AR IS " $(archiver:J=***) ;
Try again and post the output of that echo.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
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