[tlbuild] icu-76.2 in TL source tree, requires C++17

Norbert Preining norbert at preining.info
Mon Oct 28 00:40:24 CET 2024


On Sun, 27 Oct 2024, Karl Berry wrote:
> By the way, the only trick I found online to discern which C++ standards 
> are supported by a given gcc/g++ is this:
>   man gcc | grep -e "-std=c++"

I found that:
	gcc -v --help 2> /dev/null | sed -n '/^ *-std=\([^<][^ ]\+\).*/ {s//\1/p}'
or
	gcc -v --help 2> /dev/null | grep c++ | sed -n '/^ *-std=\([^<][^ ]\+\).*/ {s//\1/p}'

Norbert

--
PREINING Norbert                              https://www.preining.info
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tlbuild mailing list.