
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? - Volodya