Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cross-compiling for Overo
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-31 03:18:46


On Friday 31 July 2009 spease_at_[hidden] wrote:

> Hi,
> I'm attempting to compile Boost 1.38 or 1.39 for the Gumstix Overo
> (ARM) platform, in order to install ROS. The Overo uses the
> OpenEmbedded build environment, which has its own cross-compiling
> toolchain.
>
> I've been basing my work off of the 'gumros' tutorial
> (http://pr.willowgarage.com/wiki/gumros) - however, I've been unable
> to get Boost to compile as fully as the tutorial says I'll need. The
> tutorial notes that Boost probably won't fully compile, but it doesn't
> seem to output any of the libraries the tutorial lists as required -
> or any at all, for that matter. Some targets do get updated, but I

did you mean to complete that sentence?

>
> My tools/build/v2/user-config.jam is:
> "using gcc : 4.3.3 :
> /home/spease/overo-oe/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/g++
> ;"
>
> The command I'm using to compile Boost is:
> "tools/jam/src/bin.linuxx86/bjam --toolset=gcc-${GPP_VER}
> --prefix=/home/spease/gumros/deploy install"

This appears to be right.

>
> To compile the other packages that ROS needs (apr, apr-utils, log4cxx)
> I added the cross-compiling binaries and libraries to my path, but the
> gumros tutorial states you should reset your bin path before compiling
> Boost. I do not have (direct) root access to the system I'm compiling
> on.
>
> What do I need to do to get Boost to compile correctly?

Given that the command and user-config.jam you have seems right, you need
to find whatever errors are there. I'd suggest adding --with-program_options
to build just one library -- which is known to be relatively undemanding
on C++ support. If that fails, please post the errors you get compiling.

- Volodya


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