
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 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 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 ________________________________________ From: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] On Behalf Of Vladimir Prus [vladimir@codesourcery.com] Sent: Thursday, January 29, 2009 11:40 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Cross compiling Yepez, Esteban wrote:
steve-
yeah i understand. However, I don't know how to tell the last stage to use my embedded compiler.
What "last stage"
That is the following command fails: echo_run ./bootstrap/jam0 -f build.jam --toolset=tile "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" clean
because it doesn't recognize the toolset=tile. For some reason, the makefile doesn't go back and set the BOOST_JAMCC=tile-gcc ________________________________________
Oh, don't use configure/makefile. First build bjam yourself (for host), then build by directly invoking bjam. - Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users