I have access to server where I need to build boost 1.46. How can I force bootstrap.sh to use /usr/bin/gcc-4.4. By default it uses /usr/bin/gcc and I can\'t figure out how t
For people who like to know the answer for Boost 1.61 on OSX 10.11.6: Sean's answer did not work for me because of the ld: unknown option: -h error mentioned in this boost report. To make it work I replaced gcc by darwin in his command
echo "using darwin : 6.2 : /usr/local/bin/g++-6 ; " >> tools/build/src/user-config.jam
To compile and install it I used
./b2 --toolset=darwin-6.2 --prefix=$HOME/.local/ install