Date: Tue, 18 Jan 2000 10:10:14 +0200 (WET) From: Andris Pavenis To: Gisle Vanem cc: djgpp AT delorie DOT com 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, Gisle Vanem wrote: > Andris Pavenis > > > Simply this was best I was able to do to get version automatically in > > using definition in gcc specs. > > Why couldn't '__DJGPP__', '__DJGPP_MINOR__' etc. be put in the specs > file? (updating 'specs' when a new djgpp version is released). DJGPP ports of GCC are not released synchronous with DJGPP released. Also one can use different versions of DJGPP together with different versions of GCC (with some limitations: eg. gcc-2.95.X will not work with DJGPP-2.00 and 2.01). Therefore library version should be defined in djdevXXX.zip distribution but not in GCC binary archive. Other thing is that for example in Linux GCC by itself does not know version of libc unless needed include files aare included. > > This "feature" thus contradicts the info-pages for -MM, -MMD, -MG > switches: > > `-MM' > Like `-M' but the output mentions only the user header files > included with `#include "FILE"'. System header files included > with `#include ' are omitted. sys/version.h is included using CPP command line option -imacros file Perhaps it should be omitted with -MM. But it seems it's not so. I sent a message to related GCC mailing list (gcc-bugs) Andris