
________________________________________ From: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] On Behalf Of Vladimir Prus [vladimir@codesourcery.com] Sent: Friday, January 30, 2009 12:08 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Cross compiling Yepez, Esteban wrote:
the problem is that I don't know how to tell jam to use my embedded compiler when it tries to generate build.jam
sh ./build.sh
When building bjam, with "./build.sh", you don't need to use your embedded compiler. bjam is purely host binary, it does not know anything about the compiler that will be used later.
Yes, initially, I had modified the build.sh and set BOOST_JAM_CC=tile-gcc. But like you said, I want to use the host compiler in the first stage
Yes, so you build bjam for the host.
and the target compiler to do the last bit.
So I still get an error because it doesn't pick up the embedded compiler tile-gcc
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.
- Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users