Re: [GD-Consoles] GCC on Dreamcast and PS2
Brought to you by:
vexxed72
From: J. G. <jg-...@jg...> - 2002-11-09 12:02:49
|
Hi, brian hook wrote: > 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. Becareful with all PS2 issues, as this toolchain is not the main release from GNU, it was modified by cygnus for sony with the R5900 stuff and is rarther old now. > 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. ./configure --prefix=$EE --target=mips64r5900-sf-elf 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. Not sure if I follow what you are trying to achive. There is no OS beyond the most basic stuff in the PS2 kernel. JG |