Date: Thu, 19 Dec 96 14:38:48 DST Message-Id: <9612190338.AA28945@ncc01.ho.BoM.GOV.AU> From: Trevor Casey To: djgpp AT delorie DOT com Subject: f2c for djgpp V2 Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Thanks to all those who provided kind suggestions and help. After many false starts, paper chases and wild goose chases, a disk half full of various versions of makefiles etc., and a head full of confusion I've finally found that there is no need to do all the libf77 and libi77 library compilation and concatenation and compilation of the f2c source to produce an MSDOS f2c executable for DJGPP v2. Its already been done. I obtained f2c4dj2.zip from http://www.netis.com/members/rothwlr/ and a copy of libf2c.a already compiled with gcc for DOS comes with it. I put the lib in drive:\djgpp\lib and f2c.h in djgpp\include and have a directory drive:\f2c with the f2c.exe in it. (alternatively the f2c.exe could go in the djgpp\bin directory 'cause its already pointed to in autoexec.bat) Anyway, it ran like a dream first off with some fortran programs I have with only one little idiosyncracy: the open(file=" ") statements need to specify the file paths in UNIX type forward slashes. Trevor Casey * National Climate Centre * * Box 1289K Melbourne 3001 * * ph: +61 3 9669 4068 * *