GCC on Dreamcast and PS2

"brian hook" <[email protected]> Fri, 08 Nov 2002 21:17:05 -0600
Newsgroups gmane.games.devel.consoles
Message-ID <[email protected]>
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



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Gamedevlists-consoles mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-consoles
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=553