hangar eleven - your premier resource for console development
 
hangar-eleven.de - Dreamcast Development - Preparing your environment

 

Dreamcast Dev:

Hardware
Console
DC Serial Link
Schematics

Documentation
KalistiOS Docs
Graphics FAQ
Sound FAQ

Development
Free GNU Devkit
KallistiOS
Serial/IP Link
GFX Converters

Tutorials
Installing CygWin
SH4 Toolchain
Making Binutils
Making xGCC
Making Newlib
Making xGCC
Preparing GCC
ARM Toolchain
Making Binutils
Making xGCC
Compiling KOS
First DC program
Writing
Compiling
Uploading
Serial Slave
DC-Tool Kit
Making a CD

Downloads

Contact me

 


Preparing your environment
Written: February 1st, 2001 @ 20:55


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 !


 

 

 

Last changed Oktober 1, 2001 Contact me via eMail

Website Design © 2001 by Thorsten Titze / hangar-eleven.de
(the pictures used for the design were taken from QNX RTP V6.1)
All brand names used on this site are registered trademarks of their respective owners
No copyright infringement is intended