Boost logo

Boost Users :

Subject: [Boost-users] building on OS X with custom gcc version
From: Damien Hocking (damien_at_[hidden])
Date: 2018-06-24 15:16:23


All,

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.

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?

Damien



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net