[LLVMdev] Can not compile using llvm-gfortran
Duncan Sands
baldrick at free.fr
Wed Jun 1 00:03:29 PDT 2011
Hi Guobin,
> I had a problem when I tried to compile a fortran helloworld code using
> llvm-gfortran, I got an error message as below:
>
> /usr/bin/ld: cannot find –lgfortranbegin
>
> Collect2: ld returned 1 exit status
does it work if you use gfortran, i.e. not the llvm version?
llvm-gfortran comes with a copy of libgfortranbegin.a, so presumably it
is not in your library path for some reason.
Ciao, Duncan.
>
> Is there anyone can help please?
>
> Thanks,
>
> Guobin
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list