Displaying 1 result from an estimated 1 matches for "testexecut".
2010 Sep 17
3
[LLVMdev] Query on llvm-gcc v/s llc/as
...ifferent ways in which an executable can be generated from a .c file - by just using llvm-gcc, and using a combination of llvm-gcc (to emit bitcode .bc), llc (to emit assembly code), as (to assemble the code) and collect2 (linker). For example, consider compiling test.c :
1) llvm-gcc -O3 test.c -o testExecutable
2) llvm-gcc -O3 -emit-llvm -c test.c -o test.bc
llc -O3 test.bc -o test.s
as test.s -o test.o
gcc test.o -o testExecutable2
My question is, are the two executables (testExecutable and testExecutable2) basically the same ? Is there any huge difference between the two processes which w...