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





Development Env

Installing Cygwin
Installing MingW/MSys

Building PowerPC toolchain
Making Binutils
Making xGCC
Making Newlib
Making final GCC

Compiling libOGC

Testing LIB and compilers
Compiling/upping an example

Back to News

 

  Installing the Cygwin environment
  Written: January 1st, 2004 @ 18:23 GMT By: Thorsten Titze
 
 

In order to be able to build the toolchains for GamecubeE processor (PowerPC 750) 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
    Due to the fact that the whole Cygwin package grew quite large you may select default and add the following packages (or just make sure that they are enabled):

    dev:
    autconf
    automake
    binutils
    doxygen
    gcc
    gcc-g++
    gettext
    make
    nasm
    patchutils

    editors: (not really needed but might come in handy)
    vim

    libs:
    gettext

    utils:
    bzip2
    pcre

  • 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 GamecubeEyou 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.14.tar.bz2

  2. gcc-3.3.2.tar.bz2

  3. newlib-1.11.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 Cygwin Project

Back to GameCube 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 @ 17-Jan-2004 10:04 PM Contact me via eMail