Date: Tue, 18 Jan 2000 09:55:01 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp cc: Gisle Vanem Subject: Re: make depend In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.