[llvm-dev] Generating object files more efficiently
J S via llvm-dev
llvm-dev at lists.llvm.org
Sat Mar 23 13:04:12 PDT 2019
Currently I compile my C code in 2 steps in order to generate .o files
clang -emit-llvm -c foo.c -o foo.bc
llc -march=XYZ foo.bc -filetype=obj
Is there a way to generate either .o or .elf files in just 1 command?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190323/da9b3c18/attachment.html>
More information about the llvm-dev
mailing list