AMDG On 06/24/2018 09:16 AM, Damien Hocking via Boost-users wrote:
I’m trying to get 1.65.1 compiled on OSX 10.13.5. I have gcc 8.1 installed and I’ve added it to user-config.jam in the home directory. When I run "bootstrap.sh —with-toolset=gcc" it uses the Darwin gcc toolset, if I try —with-toolset=gcc-8.1 I get an unknown toolset error.
If I use the Darwin-based gcc version of b2 and try and build with gcc 8.1 I get this series of errors:
error: No best alternative for libs/context/build/asm_sources.
Can you post the rest of the error? It should give a list of which alternatives matched or didn't match.
and also linker errors from an unknown option -h on ld. I’m assuming this is because b2 built with Darwin gcc doesn’t have the right options for gcc 8. Is there a way to force b2 to be built based on gcc 8 so it gets the assembly and linker options right?
It doesn't matter what compiler you use to build b2. No toolset information is compiled into the executable. In Christ, Steven Watanabe