Boost logo

Boost :

Subject: [boost] Cross compilation problem
From: Jostein Austvik Jacobsen (josteija_at_[hidden])
Date: 2009-04-15 06:06:21

I'm trying to cross compile boost 1.38 for the gumstix motherboard (ARM)
like this:

wget --tries=10
tar xzf boost_1_38_0.tar.gz
cd boost_1_38_0
echo "using gc : `${GUMSTIXTOP}/tmp/cross/arm-angstrom-linux-gnueabi7bin/g++
-v 2>&1 | tail --1 | awk '{print $3}'`
: ${GUMSTIXTOP}/tmp/cross/arm-angstrom-linux-gnueabi7bin/g++ ; " >
sudo apt-get install bjam
sudo bjam --toolset=gcc-arm --prefix=/opt/gumros install

It seems to compile correctly, but when I compile my application that
depends on Boost (I have remembered to tell it where to find the cross
compiled boost), I get this:

skipping incompatible /opt/gumros/lib/ when
searching for -lboost_thread-gcc-mt-1_38

This looks like Boost wasn't cross compiled at all (or at least
incorrectly). Are there any obvious problems with the way I'm doing this?

Eventually, does anyone use bitbake and have a working recipe for one of the
newer Boost releases (1.35+)?


Boost list run by bdawes at, gregod at, cpdaniel at, john at