Open jacob-carlborg opened 3 years ago
Can you submit this feature request at LLVM? We use llvm::TargetRegistry::printRegisteredTargetsForVersion
for this print out.
I can give that a try.
I found the x86-64
vs. x86_64
particularly annoying too. For some arch families, there's no 1:1 mapping (x86
=> i[3-6]86
, arm
=> armv{6,7a,...}
)...
Is there an online resource about what triples are recognized?
Is there an online resource about what triples are recognized?
I've looked and couldn't find anything.
I don't know of any either; that's why I've created a little list in https://wiki.dlang.org/Cross-compiling_with_LDC#The_-mtriple_command-line_option.
The following is the list of registered targets for LDC 1.27.0:
The identifiers on the left side don't always match what's expected by the
--mtriple
flag. For example, thex86
identifier should bei386
andx86-64
should bex86_64
. Most of the other ones I've tested seem to be correct.