Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cross-compiling for Overo
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-08-01 02:27:21


On Saturday 01 August 2009 spease_at_[hidden] wrote:

> With
> $ tools/jam/src/bin.linuxx86/bjam --toolset=gcc-${GPP_VER}
> --prefix=/home/spease/gumros/deploy install --with-date_time
>
> I get 8775 lines of errors:
> http://codeviewer.org/view/code:9b5 (first and last 1k lines)
>
> Mostly it looks like the include path needs to be set to add
> /home/spease/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include, which is where the C .h header files presently reside. Is there a way to do this gracefully with
> bjam?

Well, you can add

        include=/whatever/path

to bjam, but that's wrong solution. It appears that your compiler is misconfigured --
it should find its own headers without problems. You generally should be able to
invoke the compiler by hand on a C++ file, and have headers found automatically.
Maybe, there are some configuration tweaks you need to do? Or maybe, the
binary you run:

    /home/spease/overo-oe/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/g++

is somehow not the right, and there's another properly installed tree?

- 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