https://llvm.org/bugs/show_bug.cgi?id=23040
Bug ID: 23040
Summary: Support command line parameter "--target=<triple>" as
alternative to "-mtriple=<triple>"
Product: tools
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: llc
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Clang supports the command line parameter "--target=<triple>", but llc wants
"-mtriple=<triple>". It would be helpful if this could be aligned. So either
clang also understands mtriple=<triple>" or llc also understands
"--target=<triple>".
Then a makefile only needs one definition for the target, e.g. for ARM
Cortex-A7:
TARGET := --target=armv7a-arm-none-eabi -mcpu=cortex-a7
clang $(TARGET) ....
llc $(TARGET) ....
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs