delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/03/05:21:17

From: pgarceau AT teleport DOT com (Paul Garceau)
Subject: Re: gcc compiler output
3 May 1998 05:21:17 -0700 :
Message-ID: <199805030927.CAA28862.cygnus.gnu-win32@mail1.teleport.com>
References: <19980429121901 DOT 22316 DOT rocketmail AT send1a DOT yahoomail DOT com>
Reply-To: pgarceau AT teleport DOT com
To: gnu-win32 AT cygnus DOT com

On 29 Apr 98 at 5:19, the Illustrious Earnie Boyd wrote:

> ---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.

	It might be defined within the database for the make you are using...I 
ran make 3.76.1 (mingw32-gcc, ie. JJs) with the command option -p.  

	Directing the output to a file (NT 4.0) gave me a printable list of the 
internal database that is included with make 3.76.1.  There were a number 
of symbols defined...I haven't ran this under cygwin32.

	Peace,

		Paul G.

> 
> 
> ==
> -        \\||//
> ---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".
> 

Information Systems Consultant
NewDawn Productions
http://www.teleport.com/~pgarceau/newdawn/
-
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