Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost for arm embedded system
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-02-19 07:34:10


On Saturday, February 19, 2011 15:09:37 David C Liebman wrote:
> Hi,
>
> I hope this isn't off topic. I'm trying to cross compile boost for an
> arm embedded linux project. I'm using code sourcery's lite edition.
> Below is some information about how I'm trying to run bjam. I'm using
> the boost_1_45_0 download.
>
> this is my user-config.jam :
>
> using gcc : 4.5.1 :
> /home/dave/bin/sourcery/bin/arm-none-linux-gnueabi-g++ ;
>
> this is my command line:
>
> ./bjam --toolset=arm-none-linux-gnueabi-g++
> --prefix=/home/dave/workspace/urbi_arm_source/boost_1_45_0/_build
> --debug-configuration install
>
> I get an error like this:
>
> ...snip...
> notice: [cmdline-cfg] Detected command-line request for
> arm-none-linux-gnueabi-g++: toolset= arm version= none-linux-gnueabi-g++
> notice: [cmdline-cfg] toolset arm-none-linux-gnueabi-g++ not previously
> configured; attempting to auto-configure now
> /home/dave/workspace/urbi_arm_source/boost_1_45_0/tools/build/v2/build/tool
> set.jam:38: in toolset.using
> rule arm.init unknown in module toolset.

David,

please use toolset=gcc, not toolset=arm. Toolet is basically the tool
collection used for compilation, and it's gcc in your case.

- Volodya

-- 
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