Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cross-compiling Boost with Linaro toolchain
From: Yegor Yefremov (yegorslists_at_[hidden])
Date: 2012-04-16 09:15:54


On Mon, Apr 16, 2012 at 12:57 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On 16/04/12 14:47, Yegor Yefremov wrote:
>>
>> And this is it's content:
>> using gcc : arm-linux-gnueabi-gcc (crosstool-NG
>> linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201
>> (prerelease) :
>
>
> Yegor,
>
> as I've said, such version is now allowed. Could you fix your scripts to use
> "linaro-1.13.1-2012.02-20120222" or 4.6.3 as version instead?

Volodya,

thanks you very much for your help. I could fix the problem using
-dumpversion instead of --version in Buildroot's recipe::

-TARGET_CC_VERSION = $(shell $(TARGET_CC) --version | head -n 1 | sed
-e "s/.*[[:space:]]\([[:digit:].]\+$$\)/\1/g" )
+TARGET_CC_VERSION = $(shell $(TARGET_CC) -dumpversion | head -n 1 |
sed -e "s/.*[[:space:]]\([[:digit:].]\+$$\)/\1/g" )

Yegor


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