https://cgit.freebsd.org/ports/tree/devel/freebsd-gcc15/Makefile

has (up to whitespace differences for line length limiting):

USES=   compiler:c++11-lang cpe gmake iconv libtool makeinfo tar:xz

But:

QUOTE ( of https://gcc.gnu.org/install/prerequisites.html )
Tools/packages necessary for building GCC

ISO C++14 compiler

Necessary to bootstrap GCC. GCC 5.4 or newer has sufficient support for
used C++14 features.

Versions of GCC prior to 15 allow bootstrapping with an ISO C++11
compiler, versions prior to 10.5 allow bootstrapping with an ISO C++98
compiler, and versions prior to 4.8 allow bootstrapping with an ISO C89
compiler.

If you need to build an intermediate version of GCC in order to
bootstrap current GCC, consider GCC 9.5: it can build the current D
compiler, and was also the version that declared C++17 support stable.

To build all languages in a cross-compiler or other configuration where
3-stage bootstrap is not performed, you need to start with an existing
GCC binary (of a new enough version) because source code for language
frontends other than C might use GCC extensions.
END QUOTE


So it seems that a compiler:c++14-lang should be in use instead.


(A similar point applies to lang/gcc1[56]* .)


-- 
===
Mark Millard
marklmi at yahoo.com


Reply via email to