delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/18/13:30:37

Date: Tue, 18 Jan 2000 09:55:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp <djgpp AT delorie DOT com>
cc: Gisle Vanem <gvanem AT eunet DOT no>
Subject: Re: make depend
In-Reply-To: <Pine.A41.4.05.10001171922480.64218-100000@ieva01.lanet.lv>
Message-ID: <Pine.SUN.3.91.1000118095433.3041E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 17 Jan 2000, Andris Pavenis wrote:

> Including $DJDIR/lib/../include/sys/version.h is a hack how to get
> definitions of current DJGPP version automatically in. I still think
> that best would be to force to include stdio.h when one needs version
> definitions, but there were objections against such solution.

The main objection is this: the ANSI Standard says that a program
which doesn't include any header files should still have the same
behavior as when it does.

The best way to solve this nuisance would be to have some environment
variable that specifies default command-line arguments for gcc or cpp.
Then we could simply put -D__DJGPP__= there (in djgpp.env), and forget
about this issue.

- Raw text -


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