
Thanks a lot Steve. I tried your exact same instructions and this is my output. Please note that I am using boost_1_51_0. 1. I exported the environment variables and changed the user-config.jam as you had mentioned. 2. I ran *./bootstrap.sh --prefix=INSTALL_DIR* Here is the output on the console and in bootstrap.log *Console* : No toolset specified. Please use --toolset option Bootstrapping is done. To build, run: cp: cannot stat `./tools/build/v2/engine/###\n### cp: cannot stat `./tools/build/v2/engine/###\n### ./b2 *Bootstrap.log* - Using 'cc' toolset ...updating 3 targets... [MKDIR] bin.linuxx86_64 [COMPILE] bin.linuxx86_64/b2 [COPY] bin.linuxx86_64/bjam ...updated 3 targets... 3. However b2 and bjam got built in this location - tools/build/v2/engine/bin.linuxx86_64/b2 Setting export CPPFLAGS="cxxflags=-fPIC" and running ./tools/build/v2/engine/bin.linuxx86_64/b2 $CPPFLAGS --toolset=gcc gives the errors on console. project-config.jam:10: syntax error at keyword in project-config.jam:11: syntax error at keyword { project-config.jam:13: syntax error at keyword } project-config.jam:15: in load rule project unknown in module xsltproc /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/kernel/modules.jam:283: in modules.import /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/build/project.jam:917: in import Jamroot:130: in modules.load /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/build/project.jam:317: in load-jamfile /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/build/project.jam:62: in load /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/build/project.jam:168: in project.find /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/build-system.jam:570: in load /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/kernel/modules.jam:283: in import /home/chinmay/3rdParty/boost_1_51_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build /home/chinmay/3rdParty/boost_1_51_0/boost-build.jam:17: in module scope These are the "erraneous" lines in project-config.jam. Would we have to change these too? # Compiler configuration. This definition will be used unless # you already have defined some toolsets in your user-config.jam # file. if ! in [ feature.values <toolset> ] { using ; } project : default-build <toolset> ; Thanks again, Arjun -- View this message in context: http://boost.2283326.n4.nabble.com/Building-boost-with-custom-gcc-g-tp464105... Sent from the Boost - Users mailing list archive at Nabble.com.