[LLVMdev] llvm-gcc-4.2 and -O4

Chris Lattner sabre at nondot.org
Sat Dec 29 11:06:42 PST 2007

On Dec 29, 2007, at 9:11 AM, Owen Anderson wrote:

> Using -O4 requires support from the system linker, because the files
> written out are LLVM bitcode files rather than object files.

Owen is right.  A future release of the darwin linker will support  
this.  In the meantime, you may be able to get things working if you  
link with llvm-ld instead of gcc or llvm-gcc.


More information about the llvm-dev mailing list