Re: where are __amd64 and __i386 defined?
- From: "LI Daobing (李道兵)" <lidaobing@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 19:29:16 +0800
On Mon, Jun 30, 2008 at 4:37 PM, michael <cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
not needed.
On 30 Jun 2008, at 05:48, Star Liu wrote:
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?
I'd guess arch-specific C header files
check this:
$ echo "" | strace -f -o 1.log cpp -E -x c -dM | grep -i i386
#define __i386 1
#define __i386__ 1
#define i386 1
and no header file is opened(check it in 1.log)
--
Best Regards,
LI Daobing
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- where are __amd64 and __i386 defined?
- From: Star Liu
- Re: where are __amd64 and __i386 defined?
- From: michael
- where are __amd64 and __i386 defined?
- Prev by Date: Re: project: wired/wireless router
- Next by Date: wireless with Netgear WG511T
- Previous by thread: Re: where are __amd64 and __i386 defined?
- Next by thread: Re: how to install flash plugin for
- Index(es):
Relevant Pages
|