release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > Main > RockboxDevelopment > CygwinDevelopment > CygwinInstallWithScreenShots

Cygwin Installation - Step By Step - With Screenshots


Step 1: Download the cygwin installer

Screendump1.png

From the www.cygwin.com web page, select the Install or Update Now! link, When prompted, save this file to your Hard Drive. I created a Cygwin folder, and saved it to there. Once downloaded, double click on it.


Step 2: Install the base development environment

Screendump2.png

Select Next

Screendump3.png

Next

Screendump4.png

Choose your directory, and Next

Screendump5.png

I chose to create a sub-dir to hold the installation files

Next

Screendump6.png

Pick the most suitable option for your connection, [Normally 'Direct Connection']

Next

Screendump7.png

Try to choose a local mirror, but it may be very busy and/or slow, so be prepared to come back to this screen and try a couple of option. I found that if you get a time out, even if it recovers the final installation was non-functional. Also be prepared to allow connectivity through any firewalls you may have in place

Next

OK, up to here it has all been very simple, just lots of Next.

Now you need to pay a bit more attention

Screendump8.png

Start by clicking on the + by Archive to display the sub-options.

Screendump9.png

If Zip and Unzip are not selected, (i.e. skip) click on the word "skip": The text changes to the current version number, and the checkbox for the binary is selected. Sometimes you select the chosen option, and other option are selected too. These are dependency files and should be left selected, along with any other packages already selected when you enter a section... DO NOT UNSELECT ANYTHING!!

Repeat this for Devel,
  • binutils
  • gcc
  • gcc-mingw-core
  • gdb (for debuging simulator code, but get it anyway)
  • make
  • mingw-runtime
  • patchutils
  • subversion

Interpreters
  • perl

and Text (If you want to be able to build the manuals)
  • tetex-base
  • tetex-extra

Finally, Click Next

Screendump10.png

Now BE PATIENT!! The download and install can take rather a long time. It depends on the Mirror chosen, your network connection and your PC, but it can easily run to an hour!!

Screendump11.png

Once downloaded, the packages are installed.

Screendump12.png

And some shell scripts get run until finally:

Screendump13.png

Select your preferred options, and click Finish.


Step 3: Select the Rockbox mirror site and install

Now run the Cygwin Setup program again.

Note: As of version 2.573.2.3 the Cygwin installer requires .sig files to be present and verified against a gpg key stored at Cygwin.com. For now you can avoid performing this check by running "Setup.exe -X" from a command line. -- JustinHannigan - 14 Aug 2008 Meaning you should open a terminal (like command prompt) and type "path/to/setup.exe -X", without the quotes.

Click through the screens accepting the defaults until you reach this one:

Screendump14.png

Type http://download.rockbox.org/cygwin/ into the User URL: box, and click Add

Then scroll to the bottom of the list and choose the http://download.rockbox.org mirror

Next

Screendump15.png

Click on the + by Devel, scroll to the bottom of that section and select

  • sdl
  • m68k-elf-binutils
  • m68k-elf-gcc
  • sh-elf-binutils
  • sh-elf-gcc
  • arm-elf-binutils and
  • arm-elf-gcc

Next

Screendump16.png

This time progress is quite swift (approximately 5 to 10 minutes).

Screendump17.png

Screendump18.png

A final note: Make sure your home directory is a single word (no spaces). Otherwise, you will get errors when you want to compile.

Finished!

Now you are ready to run Cygwin, compile Rockbox, the SDL Sims and the manual for all currently available platforms.

r10 - 02 Apr 2021 - 20:46:06 - UnknownUser

Copyright © by the contributing authors.