Date: Sun, 11 Jan 1998 14:59:52 +0200 (IST) From: Eli Zaretskii To: "John M. Aldrich" cc: djgpp AT delorie DOT com Subject: Re: Checking the version of Djgpp I have In-Reply-To: <34B84396.7B01@cs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 10 Jan 1998, John M. Aldrich wrote: > If you want to test your DJGPP version in a program, you can use the > DJGPP and DJGPP_MINOR macros, as follows: > > /* djgppver.c */ > /* Reports installed DJGPP version. */ > /* Compile with "gcc -Wall -g -O -o djgppver.exe djgppver.c" */ You don't need to compile a program to know what are the values of DJGPP and DJGPP_MINOR. Just look at your %DJDIR%/lib/specs file, under the "*predefines:" section.