[LLVMbugs] [Bug 23040] New: Support command line parameter "--target=<triple>" as alternative to "-mtriple=<triple>"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 26 22:08:43 PDT 2015
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: unassignedbugs at nondot.org
Reporter: axelheider at gmx.de
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150327/463787ea/attachment.html>
More information about the llvm-bugs
mailing list