From f2feb0a5d0b984acbeaeaea18e19cc02dd6d6226 Mon Sep 17 00:00:00 2001
From: Björn Stenberg
- by Felix Arends, 1/8/2002
- by Felix Arends, 1/8/2002
+
- I have spent a long time figuring out how to compile SH1 code in windows (using
- the sh-elf-gcc compiler) and when I finally compiled the first OS for my
- Jukebox I decided to write a little tutorial explaining the setup process.
- I have spent a long time figuring out how to compile SH1 code in windows (using
+ the sh-elf-gcc compiler) and when I finally compiled the first OS for my
+ Jukebox I decided to write a little tutorial explaining the setup process.
+
- The GNUSH website can be found at
- http://www.kpit.com/download/downloadgnushv0203.htm (source code is
- also available there). Get the "GNUSH v0203 Tool Chain for ELF format".
-
+
- The GNU-SH Tool Chain for Windows
-
-
+The GNU-SH Tool Chain for Windows
This is actually all you need to download. It includes the binutils, gcc and
newlib. Download the GNUSH Tool Chain for ELF format (35 MB).
- Setting up the Compiler
-
-
+ The GNUSH website can be found at
+ http://www.kpit.com/download/downloadgnushv0203.htm (source code is
+ also available there). Get the "GNUSH v0203 Tool Chain for ELF format". Note:
+ The GNUSH v0204 Tool Chain has a bug which causes problems when compiling
+ Rockbox!
+
+Download Perl for Windows from + http://www.activestate.com/Products/ActivePerl/. +
+Install the GNUSH Tool Chain (nothing you really have to care about during the - installation process).
+ installation process).-
Use CVS to download the latest source code of Rockbox (the firmware and apps - modules). In addition, you need to copy a win32 compilation of scramble.exe - into the apps dir. The pre-compiled scramble.exe can be downloaded here. - From your start menu, open the "SH-ELF tool chain" batch file inside the GNU-SH - v0203 program folder. You should end up seeing a command prompt. Go to the apps - directory and type:
+ modules). In addition, you need to copy a win32 compilation of scramble.exe and + convbdf.exe into the tools dir. The pre-compiled scramble.exe can be downloaded + here. The pre-compiled convbdf.exe can be downloaded + here. From your start menu, open the "SH-ELF tool chain" batch file + inside the GNU-SH v0203 program folder. You should end up seeing a command + prompt. Go to the apps directory and type:-
Command | -Description | -
make -f win32.mak - make -f win32.mak RECORDER = 1 |
- build for recorder target | -
make -f win32.mak PLAYER | -build for player target | -
make -f win32.mak PLAYER_OLD | -build for old player target | -
make -f win32.mak RECORDER=1 DISABLE_GAMES=1 | -build for recorder target, disable games | -
make -f win32.mak RECORDER=1 PROPFONTS=1 | -build for recorder target, enable propfonts | -
make -f win32.mak RECORDER=1 PROPFONTS=1 DISABLE_GAMES = - 1 | -build for recorder target, disable games, use propfonts | -
- I hope this tutorial helped you to compile an Archos firmware with windows. If - you have any questions, comments or corrections, please mail to - edx@go.cc -
+Command | +Description | +
make -f win32.mak + make -f win32.mak RECORDER = 1 |
+ build for recorder target | +
make -f win32.mak PLAYER | +build for player target | +
make -f win32.mak PLAYER_OLD | +build for old player target | +
make -f win32.mak RECORDER=1 DISABLE_GAMES=1 | +build for recorder target, disable games | +
make -f win32.mak RECORDER=1 PROPFONTS=1 | +build for recorder target, enable propfonts | +
make -f win32.mak RECORDER=1 PROPFONTS=1 DISABLE_GAMES = + 1 | +build for recorder target, disable games, use propfonts | +
I hope this tutorial helped you to compile an Archos firmware with Windows. If + you have any questions, comments or corrections, please mail to + felix.arends@gmx.de + #include "foot.t" -- cgit v1.2.3