This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

parse target triplet into arch-vendor-abi?


Hi all,

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.

Thanks,

Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]