Re: Compiling multiplatform code

From: David S. Miller (davem@redhat.com)
Date: Fri Apr 28 2000 - 19:48:38 EST


   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/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST