NOTE:
This step might not be necessary
anymore. It was needed for older
releases of libdream and this
part of the tutorial was written
when I used libdream. I would
just give it a try without it.
Before being able to compile
anything for the target platform
Dreamcast we still have
to replace one file of the official
GCC for SH4 directory
tree (this file is called
crt0.o and handles starting
and stopping your program code).
- Download the modified crt0.s
here
- Copy the file somewhere
in your Cygwin Tree
- Now go where the file is
and use the following line:
sh-elf-as
-little crt0.dc.s -o /usre/local/dc/sh-elf/sh-elf/lib/ml/m4-single-only/crt0.o
Now you're ready to go !
|