www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/09/04:33:54

Date: Wed, 9 Nov 94 00:20:23 -0500
From: dj AT stealth DOT ctron DOT com (DJ Delorie)
To: soeren AT xilinx DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: predefines in lib/specs

> Why does lib/specs have the following defines:
> 
> lib/specs:
> 	*predefines: -Dunix -Di386 -DGO32 -DMSDOS

These are used to specify platform-specific macros (each expands to X,
__X, and __X__)

> and why are these defines turned off when compiling with the "-ansi"
> flag?

ANSI does not allow the compiler to define macros that do not start
with _[A-Z_].


- Raw text -


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