From be10f54eec53ab5426c570dd2500c4e3c34e976d Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 27 Mar 2006 10:10:50 +0000 Subject: Various changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9279 a1c6a512-1295-4272-9138-f99709370657 --- www/sh-win/index.t | 75 ++---------------------------------------------------- 1 file changed, 2 insertions(+), 73 deletions(-) (limited to 'www/sh-win') diff --git a/www/sh-win/index.t b/www/sh-win/index.t index c92330b62f..c6f91ff011 100644 --- a/www/sh-win/index.t +++ b/www/sh-win/index.t @@ -1,78 +1,7 @@ #define _PAGE_ Setting up the GNUSH compiler for Windows #include "head.t" -

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

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

-

-

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 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 - felix.arends@gmx.de +This page has been removed. Use +http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment #include "foot.t" -- cgit v1.2.3