Hi, On Wed, Apr 25, 2018 at 07:56:24AM +0000, Warlich, Christof wrote: > is it possible in a generic way to split the target triplet into arch, vendor and abi? > I'm asking because abi may e.g. be something like 'linux-gnu', > i.e. the abi may contain a '-' itself, making it difficult to tell abi and vendor apart. It is "cpu-vendor-os" where "os" is either "system" or "kernel-system". "cpu" and "vendor" (and "kernel" and "system") cannot contain a hyphen. (And use config.sub to convert non-canonical names into canonical target triplets). This is all not GCC-specific; see https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Specifying-Target-Triplets.html . Segher