Displaying 2 results from an estimated 2 matches for "gfortran_set_std".
Did you mean:
_gfortran_set_std
2008 Nov 07
0
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...e same as what I use.
Try with 2.4 (about to be released). I'm not sure I ever tried
to build the 2.3 version of llvm-gfortran on x86-64.
> If replace it by system 'libgfortran.a', the error became:
> hello.o: In function `MAIN__':
> (.text+0x1e): undefined reference to `_gfortran_set_std'
> collect2: ld returned 1 exit status
Probably your system gcc version is different to 4.2. Like gcc 4.2,
llvm-gcc generates a call to gfortran_set_std in MAIN__. This function
is defined in the gcc 4.2 version of libgfortran, but apparently not in
other gcc versions. [I think ubuntu 8....
2008 Nov 07
3
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...It's different to the system original libgfortran.a:
-rw-r--r-- 1 root root 1854562 2008-10-25 01:40
/usr/lib/gcc/x86_64-linux-gnu/4.3/libgfortran.a
If replace it by system 'libgfortran.a', the error became:
hello.o: In function `MAIN__':
(.text+0x1e): undefined reference to `_gfortran_set_std'
collect2: ld returned 1 exit status
Thanks,
Jun
--
View this message in context: http://www.nabble.com/llvm-gfortran-gives-errors-on-AMD64-Ubuntu-tp20280697p20373363.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.