Displaying 3 results from an estimated 3 matches for "libgfortranbegin".
Did you mean:
lgfortranbegin
2011 Jun 01
1
[LLVMdev] Can not compile using llvm-gfortran
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Nov 03
0
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...and 64bit Ubuntu.
> $ llvm-gfortran -O3 -emit-llvm hello.f95 -c -o hellof.bc
> $ lli hellof.bc
> ERROR : 'main' function not found in module.
The reason for this is that Fortran outputs the entry point
into your program as MAIN__ not main. Instead "main" is
defined in libgfortranbegin; it does some initialization
(exception handling, command line arguments, others?) then
calls MAIN__. I don't know much about lli, so hopefully
someone else can explain how to handle this situation.
> $ llc hellof.bc -o hellof.s
> $ gcc hellof.s -o hellof.native
> ERROR:
> /usr/l...
2008 Nov 01
2
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
Hi,
I have installed llvm and llvm-gfortran on Pentium4 machine using 32-bit
Ubuntu, it works fine. I recently installed them on AMD64-Ubuntu 8.04,
llvm-gfortran gave me following errors
$ llvm-gfortran -Wall hello.f95 -o hellof
/home/jli127/LLVM/llvm-gcc/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/../../../../lib64/libgfortran.a(error.o):
In function `_gfortrani_gfc_itoa':