www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/20/01:06:10

Date: Thu, 20 Jun 1996 07:54:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
Cc: "Laurence J. Nicholl" <nicholl AT omnifest DOT uwm DOT edu>
Subject: Building f2c w/ djgpp v2 (fwd)
Message-Id: <Pine.SUN.3.91.960620075311.20276D-100000@is>
Mime-Version: 1.0

---------- Forwarded message ----------
Date: Wed, 19 Jun 1996 15:51:19 -0500
From: Laurence J. Nicholl <nicholl AT omnifest DOT uwm DOT edu>

Has anyone had any luck in building a valid f2c.exe with the DJGPP v2
compiler?  By adapting R. Araki's patches (from the f2c package found
under v1apps, simtel etc.), I've been able to build good versions of
the f2c libraries (libF77/libI77), but the converter is another story.
I was able to fix a problem with generation of the "gram.c" file from
bison, so the build now proceeds smoothly from start to finish.
However, the resulting binary will not convert fortran files. It executes
briefly on <foo>.f, then . . .
====================
<foo>.f:
   MAIN:
Compiler error line 3 of <foo>.f: do_format:  Unknown token type in
intermediate file
====================
The preceding example error message occurs with _any_ fortran file, with
the line # corresponding to the first executable line in the source file.

One unsuccessful "fix" I tried for this was changing the file names in
"sysdep.c" to conform to DOS 8.3 specs. No dice.

This is not a _serious_ problem, since the NetLib folks provide a 32-bit
DOS binary (compiled with Symantech 7.0, I believe) which works quite
nicely with the DJGPP-compiled libF77/libI77.  The Symantech binary seems
a little slow, however, and it would be nice to be able to build the entire
f2c system in one step.  Thanks for any suggestions!

L.J. Nicholl
<nicholl AT omnifest DOT uwm DOT edu>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019