Boost logo

Boost Users :

From: MikeW (mw_phil_at_[hidden])
Date: 2006-11-21 13:16:50


Hughes, James <jhughes <at> linx.co.uk> writes:

>
> This is the command line I used to build boost using Bjam for an arm
> platform, not sure if that helps with what you need, but here it is
> anyway!!
>
> bjam
> "-sGCC_ROOT_DIRECTORY=/opt/montavista/mobilinux/devkit/arm/iwmmxt_le"
> "-sGCC=iwmmxt_le-gcc" "-sGXX=iwmmxt_le-g++" stage
>
> Stage is the folder in which all the libs are placed, other parameters
> should be self explanatory.
>
> James

Thanks, I finally got this to build by inserting
"GCC=$(STAGING_DIR)/arm-elf-linux" in my $(MAKE) .... all
target in the boost.mk file in my Buildroot system.

[Though I think I'm going to have to change the
toolchain to use "arm-linux-eabi" soon]

Had to explicitly state 'arm-elf-linux' so that the unprefixed tool names
(e.g. gcc, ld ...) as used by boost build would work OK.
Couldn't find an option to prefix 'arm-elf-linux-' to all the toolnames;
the above-mentioned GCC and GXX options don't affect the rest of the tools.
There ought to be a TOOL_PREFIX option ...

Thanks again,
Mike


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net