delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/29/17:24:04

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: gcc compiler output
29 Apr 1998 17:24:04 -0700 :
Message-ID: <19980429121901.22316.rocketmail.cygnus.gnu-win32@send1a.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Benjamin Riefenstahl <benny AT crocodial DOT de>, gnu-win32 AT cygnus DOT com

---Benjamin Riefenstahl <benny AT crocodial DOT de> wrote:
>
<snip>
> Gcc has 'i386' as a pre-defined identifier indicating your hardware
> platform. The ANSI language standard prohibits the compiler from
> introducing such names exactly so you as a programmer can use them.
You
> need to call gcc with the '-ansi' option to get that behaviour though.

I don't know if this would work with cygwin.  The specs file does a
-Di386.  However, I haven't checked what happens in the specs file
with -ansi.

> You could still detect your platform by checking for '__i386__'

Is this true for the cygwin gcc tools?  Is this macro defined?  It
isn't in the specs file.


==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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