Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!ns-mx!l_eld09.icaen.uiowa.edu From: jlhaferman@l_eld09.icaen.uiowa.edu (Jeffrey Lawrence Haferman) Newsgroups: comp.lang.fortran Subject: Microsoft Fortran Question - linking Message-ID: <1432@ns-mx.uiowa.edu> Date: 5 May 90 02:28:03 GMT Sender: news@ns-mx.uiowa.edu Lines: 26 Hi, I just got a copy of Microsoft Fortran 2.2 and have lost my patience trying to link some external subroutines. The main program "J2.ftn" compiled fine, and it calls subroutines "SUB1" and "SUB2" which are located in file "SUBS.ftn" which also compiled fine once I turned on the "R" (subprogram compile) option. The fortran compiler produced a file "J2 APL" and "SUBS.sub". I went into the linker and said "f J2" followed by "o SUBS" then "g", and it complains of unresolved references to "SUB1" and "SUB2" even though they should be found. So, how am I suppossed to be linking this stuff? Also, Microsoft has done a horrible job with this product in my opinion - I'm using it since the it is the only Macintosh Fortran the University has. Jeff Haferman internet: jlhaferman@icaen.uiowa.edu Department of Mechanical Engineering University of Iowa Iowa City IA 52240