On Wed, 19 May 2021, Martin Liška wrote: > > I'm not sure where this list comes from > > I split parts in contrib/config-list.mk and printed them. > > > but I'd expect "linux" to be the > > canonical "linux-gnu", along with "linux-uclibc", "linux-android", > > "linux-musl" ("uclibc" etc. aren't system names on their own) and variants > > with "eabi" or "eabihf" on the end (see what config.guess produces for > > Arm). > > One needs an Arm machine for that. Do you know about a better way how to get > list of all systems?
Looking at the config.sub / config.guess testsuites (in config.git) will provide lists of many systems (not all supported by GCC) (and the code of config.guess may also help show what the Arm variants are). Looking at config.gcc to see what it matches against may also be helpful (but then use config.sub to get the canonical form of a target triplet). -- Joseph S. Myers jos...@codesourcery.com