Path: utzoo!attcan!uunet!cs.utexas.edu!yale!cs.yale.edu!bennetto-jack From: bennetto-jack@CS.YALE.EDU (Jack Bennetto) Newsgroups: comp.lang.c++ Subject: Fortran and C++ won't mix Message-ID: <26460@cs.yale.edu> Date: 2 Oct 90 16:48:16 GMT Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 18 Nntp-Posting-Host: newt.zoo2.cs.yale.edu I'm trying to use a Fortran subroutine from EISPACK in a C++ program on a SPARCstation but am unable to succesfully link the object files. The Fortran compiler doesn't seem to recognize the C++ libraries (I'm using g++) and simply using the linker gives me a Segmentation fault at the begining of the program. My knowlege of in this area is limited, but nothing I've read is very helpful, and I have yet to talk too anybody who uses both languages. Any help would be greatly appreciated; if I don't find an answer soon I may actually have to read the Fortran code and translate it. Please reply be e-mail; I don't read this group often. Thanks. -- Jack Bennetto INTERNET: bennetto@cs.yale.edu BITNET: bennetto-jack@yalecs OTHER: 812 Orange St New Haven CT 06511