
steve- yeah i understand. However, I don't know how to tell the last stage to use my embedded compiler. 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 ________________________________________ From: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] On Behalf Of Steven Watanabe [watanabesj@gmail.com] Sent: Thursday, January 29, 2009 7:35 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Cross compiling AMDG Yepez, Esteban wrote:
An update… I found the link that tells me how to build Bjam, but I run into a problem on the last part of the script: if test -x "./bootstrap/jam0" ; then if test "${BJAM_UPDATE}" != "update" ; then echo "bjam update = update" # echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" clean echo_run ./bootstrap/jam0 -f build.jam --toolset=tile "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" clean fi echo "no update, just build" # echo_run ./bootstrap/jam0 -f build.jam --toolset=$BOOST_JAM_TOOLSET "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" echo_run ./bootstrap/jam0 -f build.jam --toolset=tile "--toolset-root=$BOOST_JAM_TOOLSET_ROOT" "$@" Fi Because I have cross-compiled, I am not able to execute build.jam on the host. However when I try to execute on the target, the compiler is only on the host and the toolset I defined is not recognized! Yes, I copied the entire src directory into the target.
To build bjam you must use a compiler for the host because bjam has to run on the host. There's no way around this. In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users