Subject: i386--netbsdelf-fdisk: __i386__ not defined?
To: None <>
From: David Young <>
List: tech-toolchain
Date: 10/14/2005 13:44:52
I just built the fdisk cross-tool for i386 on Mac OS X, and -t and -T
options were omitted.  I need those options.

If __i386__ or __x86_64__ is defined, fdisk compiles in the BOOTSEL code,
including support for -t and -T options.  I guess that __i386__ is not
defined when cross-fdisk is built.  Is there a more appropriate symbol
to check in the C sources, or is make(1)-fu more appropriate?  E.g.,

.if ${MACHINE} == "i386"


David Young             OJC Technologies      Urbana, IL * (217) 278-3933