This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building a program with C an FORTRAN code
- To: egcs at cygnus dot com
- Subject: Building a program with C an FORTRAN code
- From: Ramiro Alba Queipo <ramiro at labtie dot mmt dot upc dot es>
- Date: Thu, 29 Oct 1998 11:21:13 +0100
- Organization: Laboratori de Termotecnia i Energetica
Hello everybody:
I am trying to buil a program writen in C wicth has some code in
FORTRAN. The compiling
phase has no problems but when linking the objets together, it finds
undefined references to
the functions writen in FORTRAN (witch are referenced from C), as if
there were not defined
anywhere.
The development environment is:
HARDWARE : Intel Pentium Clasic 166 Mhz
S.O.: : Debian/Gnu Linux 2.0
EGCS: : 1.0.3 release
LINUX KERNEL: 2.0.34
The same code is working fine in HP-UX 10.20 built by the HP compilers.
Please, when doing a reply send me a copy, as I am not subscribed to
this maling list
Thanks in advance
--
Ramiro Alba
Laboratori de Termotecnia i Energetica
Departament de Maquines i Motors Termics
ETS d'Enginyers Industrials de Terrassa
C/Colom 11
Tf: 34 - 93 739 82 43
Fax: 34 - 93 739 81 01
e-mail: ramiro@labtie.mmt.upc.es