Hi Adarsh,
> 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
system.
> 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
invocation)
>
> Please help me.
you should probably ask this on the clang mailing list. It looks similar to
problems people have been having with recent versions of ubuntu and debian,
in which libgcc has been placed in a strange place. Where is libgcc.a on your
system?
Ciao, Duncan.