This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Building a program with C an FORTRAN code


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]