hi all,
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
Is there anyone can help please?
Thanks,
Guobin
|
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.