MetaFox
April 5th, 2005, 23:31
EDIT (4/13/05): Changed path settings to /etc/profile. Added environ.sh file that I left out after the upgrade of the tutorial to use 1.3.x.
EDIT (4/6/05): Upgraded tutorial to use KOS 1.3.x instead of 1.2.0.
These tutorials should help you get started with Dreamcast development, even if you haven't coded before in your life. I'm trying to make these as newbie friendly as possible, so if you have any trouble with these, post here and let me know, so I can update them as appropriate.
1) Download http://www.cygwin.com/setup.exe
2) Run setup.exe
a) Select Install for all users
b) Select Text file type: unix
c) Click on a mirror site
d) Check all the boxes - you want a complete install
This will take a while
3) When the installation is done, Download
http://s101533388.onlinehome.us/GPF/342sh-elf.rar
a) Extract to c:\cygwin\usr\local\dc
4) Download http://www.consolevision.com/members/metafox/dreamcast/arm_toolchain.rar
a) Extract to c:\cygwin\usr
5) Download http://s101533388.onlinehome.us/GPF/kos1.3.rar
a) Extract to c:\cygwin\usr\local\dc
6) Download http://s101533388.onlinehome.us/GPF/environ.rar
a) Extract to c:\cygwin\usr\local\dc\kos1.3\kos
7) Run a command prompt (cmd.exe, command.com depending on your version of Windows)
8) Type cd\cygwin
9) Type cygwin.bat
10) close cygwin
11) Open c:\cygwin\etc\profile in a text editor such as Notepad or Wordpad
a)Add these lines to the bottom of the file:
PATH=/usr/local/dc/arm-elf/bin:$PATH
PATH=/usr/local/dc/sh-elf/bin:$PATH
b)Then save the file.
Now that you have Cygwin and KOS setup and workable, go to Tutorial #2 where we will learn to compile a simple SDL game (port) to the Dreamcast.
EDIT (4/6/05): Upgraded tutorial to use KOS 1.3.x instead of 1.2.0.
These tutorials should help you get started with Dreamcast development, even if you haven't coded before in your life. I'm trying to make these as newbie friendly as possible, so if you have any trouble with these, post here and let me know, so I can update them as appropriate.
1) Download http://www.cygwin.com/setup.exe
2) Run setup.exe
a) Select Install for all users
b) Select Text file type: unix
c) Click on a mirror site
d) Check all the boxes - you want a complete install
This will take a while
3) When the installation is done, Download
http://s101533388.onlinehome.us/GPF/342sh-elf.rar
a) Extract to c:\cygwin\usr\local\dc
4) Download http://www.consolevision.com/members/metafox/dreamcast/arm_toolchain.rar
a) Extract to c:\cygwin\usr
5) Download http://s101533388.onlinehome.us/GPF/kos1.3.rar
a) Extract to c:\cygwin\usr\local\dc
6) Download http://s101533388.onlinehome.us/GPF/environ.rar
a) Extract to c:\cygwin\usr\local\dc\kos1.3\kos
7) Run a command prompt (cmd.exe, command.com depending on your version of Windows)
8) Type cd\cygwin
9) Type cygwin.bat
10) close cygwin
11) Open c:\cygwin\etc\profile in a text editor such as Notepad or Wordpad
a)Add these lines to the bottom of the file:
PATH=/usr/local/dc/arm-elf/bin:$PATH
PATH=/usr/local/dc/sh-elf/bin:$PATH
b)Then save the file.
Now that you have Cygwin and KOS setup and workable, go to Tutorial #2 where we will learn to compile a simple SDL game (port) to the Dreamcast.