info-inventor
[Top] [All Lists]

Re: PPC info

To: buchmann@xxxxxxxxxx
Subject: Re: PPC info
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Sat, 19 Aug 2000 22:25:35 -0700 (PDT)
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <200008200512.WAA12665@aspen.cs.unr.edu> from "Jeremy Buchmann" at Aug 19, 2000 10:12:14 PM
Sender: owner-inventor@xxxxxxxxxxx
On Sat Aug 19 22:12:14 2000, buchmann@xxxxxxxxxx wrote:
> 
> Hello,
>     I am trying to get OI to compile on my G3 Powerbook which runs LinuxPPC
> 2000.  I have run into the DGL_NTOH_* macros which eventually led me to
> machine.h.  I think I can add a section there for the PPC architecture, but
> I haven't been able to figure out where the machine types are initally
> defined.  For example, the entry in machine.h for i386 says 
> 
> #ifdef __i386__
> ..
> #endif
> 
> My question is where is __i386__ initially defined?
> 
> Jeremy Buchmann
> buchmann@xxxxxxxxxx

__i386__ is defined by the GNU C-Compatible Compiler Preprocessor (/lib/cpp).
The -dM option prints a list of active macro definitions.


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

<Prev in Thread] Current Thread [Next in Thread>