Boost logo

Boost Users :

Subject: Re: [Boost-users] Cross compiling
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-01-30 11:15:39


Yepez, Esteban wrote:

> After you've build bjam for the host, you follow instructions at:
>
> http://www.boost.org/boost-build2/doc/html/bbv2/tasks/crosscompile.html
>
> which shows both where to specify the compiler command, and how to request that this
> compiler be used. Did you try those instructions?
>
>>> THESE INSTRUCTIONS TELL YOU TO INDICATE AN ALTERNATIVE TOOLSET. HOW DO YOU CREATE A TOOLSET.
>>> THAT IS I WANT IT TO PICK UP A CC THAT IS NOT CURRENTLY SUPPORTED.

Previously, you have said:

> I am trying to cross compile boost for an embedded processor that has its own gcc and
> g++ compiler.

So, it's not a new compiler, it is just gcc. Then, you should do exactly what the doc say:

1. Put this in user-config.jam:

        using gcc : tile : tile-g++ ;

2. Add this to bjam command line:

        toolset=gcc-tile

- Volodya


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