welcome to www.hangar-eleven.de - your premier resource for console development





Development Env

Installing Cygwin

Building SH4 toolchain
Making Binutils
Making crossGCC
Making Newlib
Making final crossGCC

Building ARM toolchain
Making Binutils
Making crossGCC

Compiling KallistiOS

Testing KOS and the Compilers
Writing the first program
Compiling the first program
Uploading to the Dreamcast
DC-Tool
Serial Slave

Making a CD

Back to News

 

  Installing the Cygwin Environment
  Written: January 29th, 2001 @ 00:09 GMT By: Thorsten Titze
 
 

In order to be able to build the toolchains for both of Dreamcast™ processors (SH4 and ARM) you have to have the CygWin Environment installed. This environment gives you a UNiX-like environment on Windows, a GCC compiler and BINUTILS inclusive.

The best and easiest way is to download the setup.exe file from here. Here's a step-by-step walkthrough of how to install the environment.

  • Download the setup.exe
  • Make a directory where the installer should be downloaded to
  • The tool will ask what it should do. Choose Download from Internet
  • Push button Next->
  • Browse to the installer directory you created
  • Push button Next->
  • Choose appropriate internet configuration
    (mostly direct connection will do fine)
  • Push button next->
    Choose a mirror close to you
  • Push button next->
    On the next page you can select which packages to download
    (I would prefer just downloading all of these packages they migh come in handy)
  • Push button next->
  • Sit back and enjoy a lengthy download

After the download finished you have the complete CygWin-Installer residing on your harddisk. Now it is time to install the packages you just downloaded:

  • Run setup.exe again
  • This time choose Install from Local Directory
  • Choose the installer-directory (it's your source) and hit Next-->
  • Choose a destination-directory (e.g. C:/Cygwin) and hit Next-->
  • The installer starts it's work


Locate the folder Cygnus Solutions in your Startmenu and start CygWin Bash Shell. If a BASH prompt appears the installation was successful. Now you have a UNiX environment within your Windows.

Before being able to build the Cross Compiler, the tools and libraries for the Dreamcast™ you need the sources for the components. You can grab the source packages here.

You will need the following packages:
(NOTE:These are the locations I got the sources from, in case these link do not work anymore please look @ http://www.gnu.org for another mirror)

  1. binutils-2.11.2.tar.gz
  2. gcc-3.0.3.tar.gz
  3. newlib-1.9.0.tar.gz

The source packages above are confirmed to work together with the latest CygWin release, so you might take newer version but don't be surprised if they won't work correctly !

  Go to the homepage of the GNU project [offsite link]

Back to Dreamcast Development Main


DISCLAIMERS:
Website Design © 2002 by Thorsten Titze / hangar-eleven.de
(the pictures used for the design were taken from a WindowsXP Skin and WindowsXP)
All brand names used on this site are registered trademarks of their respective owners
No copyright infringement is intended
Last updated @ 22-Feb-2002 2:19 PM Contact me via eMail