Displaying 2 results from an estimated 2 matches for "f77_aloc".
2008 Nov 26
2
Rtools28 - undefined references with gfortran
...GNU Fortran (GCC) 4.2.1-sjlj (mingw32-2)
I am compiling some old fortran code as part of a larger
project. When I do that, I get undefined references:
gcc.exe: s_cmp.o: No such file or directory
gcc.exe: s_copy.o: No such file or directory
gcc.exe: s_cat.o: No such file or directory
gcc.exe: F77_aloc.o: No such file or directory
I don't see these entry points in any of the accompanying
library files. I hunted around and found the above
functions in an old MinGW library libg2c.lib
When I link them in, I get different undefined references:
ilaenv.o:ilaenv.f:(.text+0x55): undefined referen...
2008 Oct 23
0
RCMD SHLIB: static libraries and f77 libraries on Windows
...I do
this?
Perhaps using MakeVar/MakeFile? Failing this, is there a way to use a
wildcard on
a link , e.g. RCMD SHLIB myprog.c *.o, instead of having to list ~100
object files?
(2) I'm using some legacy F77 code in the project, and it calls some gcc
library functions:
G77_exit_0, s_cat, F77_aloc, etc.
These used to be in gcc libraries libg2c.a and libgcc.a, which were part of
MinGW. They
don't seem to be in the MinGW that comes with Rtools. Have they be
replaced, and if
so, what are the appropriate libraries?
If this is documented, or if there is an example somewhere, please let me...