www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/18/14:17:21

To: morphine AT whatever DOT cs DOT jhu DOT edu (Michael Phelps)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Predefines
Date: Sun, 18 Dec 1994 09:38:42 PST
From: "Marty Leisner" <leisner AT sdsp DOT mc DOT xerox DOT com>

In message <9412181218 DOT AA27397 AT sun DOT soe DOT clarkson DOT edu>you write:
>	As I recall, someone asked a while back if there was any way to find 
>out whether there was any way to find out all the pre #defined values in djgpp
>.
>Well, I found a file in my /lib directory that I only now looked at:  SPECS.
>Here are two lines from it:
>*predefines
>-Dunix  -Di386  -DGO32  -DMSDOS
>

I found predefining all of these can lead to problems...

There are gcc options not to predefine things...I also
only define GO32 i386 and sticking MSDOS or unix in the
makefile.

Too much code goes:
#ifdef unix
#endif
#ifdef MSDOS
#endif


marty

- Raw text -


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