[GD-Consoles] GCC on Dreamcast and PS2
Brought to you by:
vexxed72
From: brian h. <bri...@py...> - 2002-11-09 03:17:03
|
Okay, a little bit of an odd one here, but does anyone know what predefined symbols GCC sets when targeting DreamCast or a PS2? For a Dreamcast I know it sets the processor target to _SH4 (and the various permuations), but I don't know if it sets a target for the operating system (presumably Linux these days?). I haven't hunted down a cross-compiler just yet. For the PS2, the GCC for EE targets the MIPS R5900(?) in, I believe, little-endian mode, but I can't figure out if it actually has an OS target -- I don't think it does. So I'm not sure how to build a header file that targets MIPSLE but that can also identify whether it will be on a PS2 vs. some other (?) MIPS little-endia device like the 5900. I'm looking at the stuff on ps2dev.sourceforge.net (ee-gcc) and I've tried sorting through the huge amount of crap in ee-gcc -dumpspecs. Thanks, Hook |