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
With the most recent version of Boost 1.71 works the below way:
>export CC=/gcc
>export CXX=/g++
>./bootstrap.sh
>./b2 --toolset=gcc stage threading=multi link=shared
You could check the gcc version used for build with bellow command
>ldd b2
linux-vdso.so.1 => (0x00007ffcaa5f4000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00002b85ab701000)
libm.so.6 => /lib64/libm.so.6 (0x00002b85abaaa000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b85abdac000)
libc.so.6 => /lib64/libc.so.6 (0x00002b85abfc3000)
/lib64/ld-linux-x86-64.so.2 (0x00002b85ab4dd000)
or in bin.v2/project-cache.jam file