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)
- binutils-2.11.2.tar.gz
- gcc-3.0.3.tar.gz
- 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
!
|