[LLVMdev] LLVM compile with -emit-llvm
Brice Lin
brice.lin at gmail.com
Thu Feb 26 10:16:53 PST 2009
Is it possible to add any flags to this command so that the resulting
compile runs perfectly fine (-c builds, but does not work)?
llvm-gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wuninitialized
-Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset
-emit-llvm <filename.c>
where <filename.c> contains
#include <stdio.h>
int main() {
exit(0);
}
Thanks in advance for any assistance.
More information about the llvm-dev
mailing list