From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ramiro Alba Queipo To: egcs@cygnus.com Subject: Building a program with C an FORTRAN code Date: Thu, 29 Oct 1998 02:23:00 -0000 Message-id: <36384199.C8FFB268@labtie.mmt.upc.es> X-SW-Source: 1998-10/msg01178.html 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