This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc compiler output


---Benjamin Riefenstahl <benny@crocodial.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@yahoo.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]