I'm trying to correct something, so I'm looking for
the correct way to detect the target system/platform
in source code at compile time.
I'm not (currently) interested in bus config defines (like
PCI, MCA, etc.), just processor/platform configs.
In some cases this is supplied by a config.in file;
in others it is supplied by gcc.
Here's what I've found so far. I've probably missed a
If there is a place (or file) that lists all of these,
or you can correct or add to these, please let me know.
ppc: PPC or __powerpc__
sparc: __sparc__ or sparc
Atari: ATARI or atarist
PMAC: CONFIG_PMAC_PBOOK ???
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:11 EST