[LLVMdev] llvm linker command failure

Adarsh HV adarsh.hv99 at gmail.com
Wed Jul 13 00:01:54 PDT 2011

I am new to LLVM. I am using Clang 3.0 to execute c programs.
I am using mandriva spring 2010. GCC version 4.4.1 is installed in the
I used the following link to install LLVM.
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm

I run it by using the below command
clang file.c.

I am getting the following error.
/usr/bin/ld: cannot find -lgcc
clang: error: linker command failed with exit code 1 (use -v to see

Please help me.

Thanking You,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110713/73cc580a/attachment.html>

More information about the llvm-dev mailing list