Mail Archives: djgpp-workers/2000/02/28/09:26:34
On Mon, 28 Feb 2000, Laurynas Biveinis wrote:
> I suggest do it as follows: each package provides its own part of
> configuration file, and on every installation/deinstallation the
> main djgpp.env should be concatenated from all those parts.
Either that, or we introduce a two-level system: The central djgpp.env is
kept as is, providing usable defaults for every program. But we could add
a directory (%DJDIR%/envfiles or so) of files called, in the example case,
'bison.env', which would override the settings in djgpp.env, if they
exist. The drawback would be that the code that currently reads djgpp.env
would become more complicated, introducing possible new bugs to a very
sensitive central part of the system. It has the advantage that we
wouldn't have to force everyone to use zippo: directly unzipping packages
would still work.
Or, even simpler to work with, turn djgpp.env into a directory, each of
the sections like [bison] into a separate file 'bison.env', and the
toplevel part into %DJDIR%/djgpp.env/djgpp. This would require a total
rewrite of the code reading djgpp.env, and break backward compatibility,
of course :-(
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -