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

Date: Tue, 18 Jan 2000 10:38:05 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: make depend
In-Reply-To: <Pine.SUN.3.91.1000117190924.25190E-100000@is>
Message-ID: <Pine.A41.4.05.10001181013000.75156-100000@ieva01.lanet.lv>
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, Eli Zaretskii wrote:

> 
> Even if editing specs solves the problem, I don't think it's a solution, 
> because -imacros is there for a reason (so that even in a program that 
> doesn't include stdio.h __DJGPP__ and __DJGPP_MINOR__ are defined 
> correctly).  Perhaps GCC has some switch that makes it ignore headers 
> which come through -imacros.  If not, perhaps we need to ask for such a 
> switch.  (Or perhaps you could view this as a feature: a different libc 
> version does require to recompile, right? ;-)
> 

As I already said earlier, (according some my tests) it seems that
this hack didn't want to work with gcc-2.96 development versions.
I haven't tested it for DJGPP about a month, but it worked
with gcc 2.96 20000117 compiled for target i586-pc-linux-gnu. I
still think that we should drop such hacks in future. Forcing user to
include stdio.h or directly sys/version.h is not so terrible.

Sorry for returning to this topic once more

Andris


- Raw text -


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