https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976
--- Comment #174 from Sergey Fedorov <vital.had at gmail dot com> --- (In reply to Peter Dyballa from comment #168) > > you might want to put the MP PATH at the end of your PATH and then specify > > the bootstrap compiler with CC=... and CXX=.. supplying the installed names > > of the C and C++ gcc-10 bootstrap compiler. > > > Yes, I did so: > > env PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/local/lib/pkgconfig > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/local/libexec/gcc10-bootstrap/bin > ../gcc-16-branch-gcc-16-1-darwin/configure --prefix=/opt/local > --build=powerpc-apple-darwin9 --datarootdir=/opt/local/share/gcc-16 > --disable-libgomp --disable-multilib --disable-nls --enable-checking=release > --enable-host-shared --enable-languages=c,c++,objc,obj-c++ > --infodir=/opt/local/share/info --libdir=/opt/local/lib/gcc16 > --mandir=/opt/local/share/man --program-suffix=-mp-16 > --with-bugurl=https://github.com/macos-powerpc/powerpc-ports/issues/new > --without-build-config --with-darwin-extra-rpath=/opt/local/lib/libgcc > --with-gmp=/opt/local --with-gxx-include-dir=/opt/local/include/gcc16/c++/ > --with-isl=/opt/local --with-ld=/usr/bin/ld64 --with-local-prefix=/opt/local > --with-mpc=/opt/local --with-mpfr=/opt/local --with-system-zlib > --with-gxx-libcxx-include-dir=/opt/local/libexec/gcc16/libc++/include/c++/v1 > --with-pkgversion=MacOS PowerPC gcc16 16.1.0_0+stdlib_flag > CC=powerpc-apple-darwin9-gcc CXX=powerpc-apple-darwin9-c++ Since you are not building from my port for gcc16, there is no reason to inherit specific options, because at best it can be misleading for someone reading the output (it configures as `--with-pkgversion=MacOS PowerPC` but the set of configure options cannot be achieved by any existing variant in the actual port) and it can also cause failures on your end, if assumptions are not met. Specifically, --with-gxx-libcxx-include-dir=/opt/local/libexec/gcc16/libc++/include/c++/v1 comes from +stdlib_cxx variant, which assumes that you have libc++ headers installed by gcc16-libcxx port. It is also optional, and most likely not needed for you in general (or at least not for testing purposes).
