thanks for your description, i finally found the doc:
http://predef.sourceforge.net/prearch.html, it's a little hard. :)

On Mon, Jun 30, 2008 at 1:27 PM, Russ Allbery <[EMAIL PROTECTED]> wrote:

> "Star Liu" <[EMAIL PROTECTED]> writes:
>
> > I read this line in a c source file:
> > #if defined (__sun) && (defined(__i386) || defined(__amd64))
> > I'm wondering where are __sun  __amd and 64 __i386 defined?
>
> They're defined by the compiler.  There's a "standard" set of such defines
> that the compiler sets up automatically (standard in the sense that every
> time I need to figure out what they are, I have to go grovelling through
> arcane compiler flags or obscure documentation).
>
> --
> Russ Allbery ([EMAIL PROTECTED])               
> <http://www.eyrie.org/~eagle/<http://www.eyrie.org/%7Eeagle/>
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
---------------------------------------------------------------------------------------------------------------------------------------------
Homepage: http://starliu.9966.org, about Buddha, x86_64 CPU, Debian
GNU/Linux Lenny AMD64, UEFI/BIOS
---------------------------------------------------------------------------------------------------------------------------------------------

Reply via email to