From f2feb0a5d0b984acbeaeaea18e19cc02dd6d6226 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 10 Jan 2003 12:13:21 +0000 Subject: A bunch of web updates git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3061 a1c6a512-1295-4272-9138-f99709370657 --- www/sh-win/index.t | 132 +++++++++++++++++++++++++++-------------------------- 1 file changed, 67 insertions(+), 65 deletions(-) (limited to 'www/sh-win') diff --git a/www/sh-win/index.t b/www/sh-win/index.t index ef52116aca..c92330b62f 100644 --- a/www/sh-win/index.t +++ b/www/sh-win/index.t @@ -1,76 +1,78 @@ -#define _PAGE_ Setting up an SH-1 compiler for Windows +#define _PAGE_ Setting up the GNUSH compiler for Windows #include "head.t" -

- 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. -

- The GNU-SH Tool Chain for Windows -

-

+

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 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).

- 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". -

- 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! +

+

Perl

+

+Download Perl for Windows from + http://www.activestate.com/Products/ActivePerl/. +

+

Setting up the Compiler

Install the GNUSH Tool Chain (nothing you really have to care about during the - installation process).

+ installation process).

-

Compiling the latest Rockbox Source -

+

Compiling the latest Rockbox Source +

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:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CommandDescription
make -f win32.mak
- make -f win32.mak RECORDER = 1
build for recorder target
make -f win32.mak PLAYERbuild for player target
make -f win32.mak PLAYER_OLDbuild for old player target
make -f win32.mak RECORDER=1 DISABLE_GAMES=1build for recorder target, disable games
make -f win32.mak RECORDER=1 PROPFONTS=1build 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 -

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CommandDescription
make -f win32.mak
+ make -f win32.mak RECORDER = 1
build for recorder target
make -f win32.mak PLAYERbuild for player target
make -f win32.mak PLAYER_OLDbuild for old player target
make -f win32.mak RECORDER=1 DISABLE_GAMES=1build for recorder target, disable games
make -f win32.mak RECORDER=1 PROPFONTS=1build 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