[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html

Devang Patel dpatel at apple.com
Fri Aug 24 14:02:15 PDT 2007


On Aug 24, 2007, at 1:45 PM, Holger Schurig wrote:

> $ llvm-gcc --emit-llvm -c a.c -o a.o
> $ llvm-gcc -c main.c -o main.o
> $ llvm-gcc a.o main.o -o main
> a.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
>
> Okay, that did not really work :-/

This document describes interface between llvm and linker. You need  
system linker that implements this interface. LLVM tool kit does not  
supply system linker.

-
Devang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070824/db8cef96/attachment.html>


More information about the llvm-dev mailing list