GCC
defines the following preprocessor macros for the
IDT/MIPS configurations:
mips
, _mips
, __mips__
, ___mips__
,
__mips
, ___mips
.
MIPSEB
, _MIPSEB
, __MIPSEB__
, ___MIPSEB__
,
__MIPSEB
, ___MIPSEB
.
MIPSEL
, _MIPSEL
, __MIPSEL__
, ___MIPSEL__
,
__MIPSEL
, ___MIPSEL
.
R3000
, _R3000
, __R3000__
, ___R3000__
,
__R3000
, ___R3000
.