Rockbox mail archive
Subject: compiling under windows under cygwin
From: Eric Linenberg (elinenbe_at_umich.edu)
Maybe someone can put this up on the web page or something. Here is
the way to get everything up and running on windows under cygwin.
This works flawlessly for me, and should work for everyone else too.
I find this is the easiest way to compile under windows as nothing
needs to be really changed or modified from the daily source archives
or the cvs archives.
head on over to www.cygwin.com and download the setup file. Here is a
direct link: http://www.cygwin.com/setup.exe
Run the executable, choose install from internet, choose a directory
to install it into, leave default text file type as Unix, then click
next. Choose a local package directory (this is where it will
temporarily download the packages you choose in the next step)
Then choose an available download site. I choose ftp.nas.nasa.gov as
it is close to me and very fast.
click on develop and choose gcc, cvs, make,
click on utils and choose bzip2
click on net and choose openssh
(make sure bash is chosen under base)
then go out and download binutils-2.11.tar.gz and gcc-3.0.4.tar.gz
and save them in the cygwin\home\name directory that has just been created.
For instance my name under windows is Eric, and I installed cygwin to
c:\develop\cygwin\ so I saved these files to
when you run cygwin you will be inside a bash shell.
now follow the directions on this page http://bjorn.haxx.se/rockbox/cross-gcc.html
now, lets get the source and compile...
download a daily source archive to the same directory as above.
I will use:
then do the following:
/home/Eric> tar zxf rockbox-daily-20020621.tar.gz
/home/Eric> cd rockbox-daily-20020621
/home/Eric/rockbox-daily-20020621> mkdir build
/home/Eric/rockbox-daily-20020621> cd build
and answer the questions as you like (this build directory is where
your archos.mod or ajbrec.ajz will be created.)
then head into the tools directory and run make to create the scramble
utility and others.
now, to compile the firmware just go into the build directory you
created and run make
there you go!
you MAY need to however need to add includes to the two makefiles to
get it to compile. this is done by adding:
to the end of the INCLUDES= line in
thats all for now. If someone can clean up or condense these
instructions, then by all means go right ahead.
Page was last modified "Jan 10 2012" The Rockbox Crew