

> -disable-bootstrap -host=x86_64-apple-darwin15 > -disable-multilib -disable-nls -enable-languages=c,c++,ada > -disable-libsanitizer -disable-libcc1 -disable-libcilkrts > -without-libiconv-prefix -disable-libmudflap -disable-libstdcxx-pch > -prefix=/Volumes/Miscellaneous/tmp/opt/gcc-9.0.0 > Configured with: /Volumes/Miscellaneous/tmp/gcc/configure > -mmacosx-version-min=10.14.0 & equivalents throughout. > Selected output from "gcc empty.c -v -Wl,-v" on macOS 10.14.1 (darwin no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lSystem -v weak_reference_mismatches non-weak -o a.out main-file-name cc2Zzpgh.s -target-cpu penryn -fdebug-compilation-dir "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1as InstalledDir: /Library/Developer/CommandLineTools/usr/bin mmacosx-version-min=10.14.0 -mtune=core2 -auxbase empty -version D_DYNAMIC_ empty.c -fPIC -quiet -dumpbase empty.c with-boot-ldflags='-static-libstdc++ -static-libgcc -Wl,-headerpad_max_install_names' disable-bootstrap -host=x86_64-apple-darwin15 disable-multilib -disable-nls -enable-languages=c,c++,ada

disable-libsanitizer -disable-libcc1 -disable-libcilkrts without-libiconv-prefix -disable-libmudflap -disable-libstdcxx-pch prefix=/Volumes/Miscellaneous/tmp/opt/gcc-9.0.0 mmacosx-version-min=10.14.0 & equivalents throughout.Ĭonfigured with: /Volumes/Miscellaneous/tmp/gcc/configure Selected output from "gcc empty.c -v -Wl,-v" on macOS 10.14.1 (darwin 18.2.0), Maybe we don’t need to include a specific bugfix component at all? That (clang-800.0.42.1)) specifies - only at link time.

Perhaps weĬould set up an environment variable during configure, using sw_vers asĪs an alternative, I see that Apple’s gcc (Apple LLVM version 8.0.0 Which are perhaps unsatisfactory because of using objective-C. Wl,-macosx_version_min,`sw_vers -productVersion` (I assume that it’s only The applicationĪ workround would perhaps be to link the executable with Within a bundle: Sierra complains "You have macOS 10.12.3. Getting this wrong means that it’s impossible to run an executable from Unfortunately, Apple don’t apply this algorithm the macOS version is The compiler receives -mmacosx-version-min=10.12.4 and the linker receives Version 4) is equal to the bugfix component of the macOS version, so that That the minor version in the Darwin kernel version (16.4.0, => minor In gcc/config/darwin-driver.c, darwin_find_version_from_kernel() assumes
