Mail Archives: djgpp/1998/01/11/08:00:01
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 -