I am currently trying to use the fortran to C translator, f2c on a
SPARCclassic running Solaris 2.1. Using gcc, it compiles fine, and
translates fortran source code to C source code OK. But when I try to
use gcc to compile the resulting C code I get the following error
gcc -lF77 -lI77 -lm <filename>.c
ld: fatal error, libF77.a unknown type, cannot be processed by elf(3E)
libraries.
I'm not very experienced in fortran, or using libraries. Anybody any
idea whats wrong? All replies appreciated...thanx in advance.
Chris Bradshaw
---------------------------------------------------------------------------
Republic of Ireland. |
| Voice: +353-1-706-2202
| FAX: +353-1-283-7275
---------------------------------------------------------------------------