Xref: news2.mv.net comp.os.msdos.djgpp:6617 From: Duncan Sands Newsgroups: comp.os.msdos.djgpp Subject: Re: g77 ported to DJGPP? Date: Wed, 31 Jul 1996 17:52:18 +0200 Organization: Universite Paris-Sud, France. Lines: 37 Message-ID: <31FF8132.150B@topo.math.u-psud.fr> NNTP-Posting-Host: macpower.matups.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >> If anyone has ported g77, the GNU fortran compiler, to MSDOS, >> i.e. DJGPP, or knows where I could find such a port, could >> you please let me know. >> >> I will try to check comp.os.msdos.djgpp for replies, but >> it would be helpful if you sent replies directly to me at: >> sands AT topo DOT math DOT u-psud DOT fr Thanks to everyone who replied to this message of mine. The main suggestions were: use f2c or use emx (for which there's a port of g77). I'm not sure that f2c is what I need. The thing is that I'm writing a numerics program in Ada, and compiling using the DJGPP (MSDOS) version of GNAT, the GNu Ada Translator. I would like to use routines from the LAPACK linear algebra library (written in fortran). It is possible to access fortran routines from Ada, and an interface has been written to allow you to use LAPACK routines from within Ada (its available on the web). I would like to use this interface, so I need the fortran version of LAPACK. If I used f2c then I would have to change the interface package, which I would rather not do, though it is a possible solution. The simplest thing would be to compile LAPACK using g77, and then all the rest will work. I can say this with some confidence, since I have done this using the emx version of GNAT under OS2, and with the emx port of g77. Normally emx compiled programs will run under MSDOS as well, but this is not true for all emx GNAT compiled Ada programs. My program is an example. Otherwise I could have and would have used emx for everything... (I will probably be shot for saying this on the DJGPP newsgroup!). Thanks again for all your help, Duncan.