simple question

Mathew Yeates myeates@jpl.nasa.gov
Tue Oct 17 20:31:00 GMT 2006


I create an object foo.o using gfortran. Now I'm trying to call one of 
its routines from a c file. BUT, I'm linking using Microsofts cl.exe and 
linking to all of the gfortran libraries. I get the error


libmingw32.a(pseudo-reloc.o) : error LNK2019: unresolved external symbol 
__image_base__ referenced in function __pei386_runtime_relocator
main.exe : fatal error LNK1120: 1 unresolved externals

Where is image_base? Is it impossible to link using cl.exe?

Mathew





More information about the Fortran mailing list