Re: Compiling multiplatform code

David S. Miller (davem@redhat.com)
Fri, 28 Apr 2000 17:48:38 -0700


Date: Fri, 28 Apr 2000 17:51:56 -0700 (PDT)
From: Ivan Passos <lists@cyclades.com>

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

__i386__ is the way to go probably if you need the same source
to compile both 2.2.x and 2.3.x, in 2.3.x we have a CONFIG_X86,
CONFIG_IA64, CONFIG_ISA, CONFIG_SBUS, etc. defines.

Later,
David S. Miller
davem@redhat.com

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