Mail Archives: djgpp/1997/06/06/14:19:00

Message-ID: <>
Date: Fri, 6 Jun 1997 20:21:56 +0200
From: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
To: taupin AT lps DOT u-psud DOT fr
Cc: djgpp AT delorie DOT com
Subject: Re: Building f2c
References: <3398C14B DOT 447A AT lps DOT u-psud DOT fr>
Mime-Version: 1.0
In-Reply-To: <>; from Daniel TAUPIN on Fri, Jun 06, 1997 at 07:02:51PM -0700

On Fri, Jun 06, 1997 at 07:02:51PM -0700, Daniel TAUPIN wrote:
> Making and recompiling f2c from the v1appl zips fails for the reason
> that no file tokdefs.h is given.
> And when I use the previous version's tokdefs.h, the bison finds errors
> in it.

Bison? Dangerous. I would suggest to use byacc. (I'm just afraid that bison
could make grammar problems, at least I can rely on byacc, provided
you take care for c \tmp dir :)
Anyway, look at the original makefile :

tokdefs.h: tokens
        grep -n . <tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/" >tokdefs.h 

tokens is part of the distribution. So with  a little sed and grep you will
be there.

>  => Where is that missing file, or how can I re-build it?
> Thanks. Note that anyway, I can coff2exe the executable with the v1.12
> package and have it stand alone, but I feel it not very clean...
> -------------------------------------------------------------------------
>   Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY
>   E-mail : mailto:taupin AT lps DOT u-psud DOT fr
>   Tél: (33), Fax: (33)
> -------------------------------------------------------------------------

Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -

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