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 17th, 2004 @ 22:20 GMT By: Thorsten Titze
 
 

In order to be able to build the toolchains for Gamecube processor (PowerPC 750) you have to have the MSys/MinGW Environment installed. This environment gives you a very limited UNiX-like environment on Windows, a GCC compiler and BINUTILS inclusive.

The best and easiest way is to download the MSYS-1.0.10-rc-3.exe and the MinGW-3.1.0-1.exe file from their sourceforge mirrors:

[MSYS-1.0.10-rc-3.exe]
[MinGW-3.1.0-1.exe]

After downloading, here is the step-by-step guide on installing these tools.

  • Startup MinGW-3.1.0-1.exe

  • Push button Yes

  • On the "License" screen accept the license with Yes

  • On the "Information" screen press Next

  • Choose a destination-directory (e.g. C:/MingW) and hit Next

  • Now hit Install and the installation starts

After installing the MinGW (Mininmal Gnu for Windows) compilers we still need some additional tools that are needed for handling Makefiles and some other stuff. These tools are compiled in a package called MSYS. The installation procedure is as follows:

  • Startup MSYS-1.0.10-rc-3.exe

  • Push button Yes

  • On the "Welcome" screen push button Next

  • On the "License" screen accept the license with Yes

  • On the "Release Notes" screen press Next

  • Choose a destination-directory (e.g. C:/MSys/1.0) and hit Next

  • In the component selection just hit Next

  • The startmenu folder is okay. Just hit Next

  • In the overview hit Install

  • After copying the files a command-prompt will open and ask whether it is okay to start post-install scripts: enter y and press return

  • On the question if you have MinGW installed enter y and press return

  • Now enter the path to your MinGW installation (if you chose standard-paths it should be C:\MinGW)

  • Hit any key to close this window and on the next window press finish


After the installation finished a Startmenu item has been created called MinGW->MSYS/MSYS. By clicking and starting this you will start a bash inside a rxvt terminal ready for use.

But personally I wouldn't use the rxvt terminal for toolchain compilation since it awfully opens new Windows cmd windows which is annoying. I would use a standard command-prompt to compile the chains.

  • Click on Startmenu->Run and enter cmd in the window

  • Change to the drive where your MSys is installed and change to the bin directory

    c:\
    cd \MSys\1.0\bin


  • Start a shell session

    sh --login -i

  • Now you're ready to go...

The rxvt is currently not the most usable terminal for doing copilations.

 



  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:21 PM Contact me via eMail