www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/08/18:22:48

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3701
Path: news-dnh.mv.net!mv!barney.gvi.net!redstone.interpath.net!uunet!in2.uu.net!usc!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!in2p3.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!i50s20!vogelsan
From: vogelsan AT i50s20 DOT ira DOT uka DOT de (Holger Vogelsang)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: what #define ??? uses djgpp to identify itself ??
Date: 1 Dec 1995 08:49:13 GMT
Organization: IMA Karlsruhe
Lines: 34
Sender: vogelsan AT i50s20 DOT sun DOT soe DOT clarkson DOT edu (Holger Vogelsang)
References: <DIvI57 DOT 76H AT hermes DOT hrz DOT uni-bielefeld DOT de>
Nntp-Posting-Host: i50s20.ira.uka.de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

>I thouht of __DJGPP__,
>but this doesnt work...

If you compile your program with -v, the compiler shows the
predefined settings (-D...).

Here it shows (C++ - file):

-D__GNUC__=2  
-D__GNUG__=2
-D__GNUC_MINOR__=6
-Dunix
-Di386
-DGO32
-DMSDOS
-D__unix__
-D__i386__
-D__GO32__
-D__MSDOS__
-D__unix
-D__i386
-D__GO32
-D__MSDOS

This should be enough for a full identification...

Holger

-----------------------------------------------------------------
Holger Vogelsang
Institut fuer Mikrorechner und Automation, Universitaet Karlsruhe 
Haid-und-Neu-Strasse 7,  D-76131 Karlsruhe
Tel.: +49+721 6083170, Fax : +49+721 661732
WWW: http://www-ima.ira.uka.de/mitarbeiter/vogelsan/

- Raw text -


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