$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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