On Fri, 28 Apr 2000, David S. Miller wrote:
> Date: Fri, 28 Apr 2000 16:45:16 -0700 (PDT)
> From: Ivan Passos <lists@cyclades.com>
>
> > Is there any __x86__ flag???
>
> Replying to myself ... :)
>
> I found the __i386__ definition, and maybe that's what I'm looking for.
> However, I also found __i486__, __i586__ ...
>
> Please realize that Alpha and several other platforms have ISA
> as well, it is certainly not an x86 specific thing.
Yes, I know, actually I'm just asking about the x86 thing because the
question came to my mind and I realized I don't know the answer. :)
BTW, do you have any suggestions as to how to solve this issue without
having to do:
#if !defined(CONFIG_COBALT_27) && !defined(__power_pc__) && (...)
??
Let's say I have _some_ feature (forget about ISA for a moment) tha I want
to compile only in x86 systems. What's the safest #ifdef to use??
Regards,
Ivan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST