www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/11/08:00:01

Date: Sun, 11 Jan 1998 14:59:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Checking the version of Djgpp I have
In-Reply-To: <34B84396.7B01@cs.com>
Message-ID: <Pine.SUN.3.91.980111145935.15603i-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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