Rockbox Development > Starting Development and Compiling

Patch help

<< < (4/4)

Nate!:
I think I understand what's going on.  So you've got Cygwin up and running.  You've probably run the command
svn co svn://svn.rockbox.org/rockbox/trunk rockbox.  
SVN downloads the source to the rockbox directory.  If you cd into the rockbox directory and you've run the ../tools/configure command, then there's your problem.

Once SVN downloads the source into the rockbox directory, cd (Change directory) into it.  Then you make a directory that you will put your compiled build into.  Use the command -> mkdir build.  cd into the rockbox/build/ directory you just created.  Type the command ../tools/configure  Once the menu comes up, choose your target, I know 40 is for the Gigabeats. I don't recall what it is for the iPod 5G.  Choose either N for a Normal build or S if you are building a simulator for testing out/creating WPSs.  If you chose N for Normal, then a make file will be created.  Once this is done, just type make, and Cygwin will begin compiling your new build.  In Cygwin this is a long process.  Once that is complete, type make zip, to create a zip file that you can unzip onto your iPod.  Congrats you've just compiled your first build.

If you choose S for Simulator, you'll get another "option" for SDL.  It's the default and the only option so just hit enter.  Again the make file will be created.  Type make.  Cygwin then compiles the Simulator.  After it finishes, type: make install.  Cygwin will then create an archos directory that will act as the root of your simulated target's harddrive.  Place music and other files in the archos directory as if it were your iPod.  Test out WPSs and config files.

scorche:
As the error message says, it doesn't see arm-elf-gcc in your path.  You need to add it.  I will not cover this, as it varies depending on what shell you are using, but Google will tell you.

The make error stems from the fact that configure didn't create a complete makefile, as it detected no presence of arm-elf-gcc in your path.

deadacres:

--- Quote from: scorche on March 13, 2007, 04:32:59 PM ---As the error message says, it doesn't see arm-elf-gcc in your path.  You need to add it.  I will not cover this, as it varies depending on what shell you are using, but Google will tell you.

The make error stems from the fact that configure didn't create a complete makefile, as it detected no presence of arm-elf-gcc in your path.

--- End quote ---

Sounds easy enough, I'll try it out later tonight.


--- Quote from: Nate! on March 13, 2007, 12:03:57 AM ---I think I understand what's going on.  So you've got Cygwin up and running.  You've probably run the command
svn co svn://svn.rockbox.org/rockbox/trunk rockbox.  
SVN downloads the source to the rockbox directory.  If you cd into the rockbox directory and you've run the ../tools/configure command, then there's your problem.

Once SVN downloads the source into the rockbox directory, cd (Change directory) into it.  Then you make a directory that you will put your compiled build into.  Use the command -> mkdir build.  cd into the rockbox/build/ directory you just created.  Type the command ../tools/configure  Once the menu comes up, choose your target, I know 40 is for the Gigabeats. I don't recall what it is for the iPod 5G.  Choose either N for a Normal build or S if you are building a simulator for testing out/creating WPSs.  If you chose N for Normal, then a make file will be created.  Once this is done, just type make, and Cygwin will begin compiling your new build.  In Cygwin this is a long process.  Once that is complete, type make zip, to create a zip file that you can unzip onto your iPod.  Congrats you've just compiled your first build.

If you choose S for Simulator, you'll get another "option" for SDL.  It's the default and the only option so just hit enter.  Again the make file will be created.  Type make.  Cygwin then compiles the Simulator.  After it finishes, type: make install.  Cygwin will then create an archos directory that will act as the root of your simulated target's harddrive.  Place music and other files in the archos directory as if it were your iPod.  Test out WPSs and config files.

--- End quote ---

I followed all of your instructions but it didn't work. :(

Nate!:
This may have something to do with it.

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

I don't recall having to make changes to the path with the Cygwin install as is needed for VMWare.

If the path to arm-elf-gcc is the only thing missing from your path you can do the following command to add it: export PATH=/opt/arm/bin:$PATH
Then try to compile again.

Did you follow these instructions for installation of Cygwin explicitly?
Cygwin Install w/Screen Shots

Navigation

[0] Message Index

[*] Previous page

Go to full version