Date: Tue, 18 Jan 2000 10:38:05 +0200 (WET) From: Andris Pavenis To: Eli Zaretskii cc: djgpp 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, 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