Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac Subject: Re: Fortran linking with LightSpeed C? Message-ID: <1823@husc6.harvard.edu> Date: 12 May 89 23:26:23 GMT References: <4028.24697939@mailcom.FIDONET.ORG> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 25 In article <4028.24697939@mailcom.FIDONET.ORG> postmaster@mailcom.FIDONET.ORG (Bernard Aboba) writes: >I've decided to port a large mainframe Fortran code over to the Mac, and >want to do much of the interface code with Prototyper. As Prototyper can >output in Lightspeed C, and I own this, this seems like the way to go. >However, I don't know how to link the Fortran code in with Lightspeed. Is Since you own Language Systems Fortran, which outputs MPW .O files, and LightspeedC has a .O Converter, it seems to me that you should be able to oConv the Fortran compiler's output and add the libraries to your LightspeedC project. Be sure to watch out for things like data initializations and segment directives, which oConv will ignore.... --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel "She told me to make myself comfortable, so I pulled down my pants and sat in the pudding." -Emo Phillips ~~~~~~~~~~~~~~~