summaryrefslogtreecommitdiff
path: root/www/sh-win/index.t
diff options
context:
space:
mode:
Diffstat (limited to 'www/sh-win/index.t')
-rw-r--r--www/sh-win/index.t75
1 files changed, 2 insertions, 73 deletions
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 @@
1#define _PAGE_ Setting up the GNUSH compiler for Windows 1#define _PAGE_ Setting up the GNUSH compiler for Windows
2#include "head.t" 2#include "head.t"
3 3
4<P>by <A href="mailto:edx@codeforce.d2g.com">Felix Arends</A>, 1/8/2002 4This page has been removed. Use
5 <BR> 5<a href="http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment">http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment</a>
6</P>
7<P>I have spent a long time figuring out how to compile SH1 code in windows (using
8 the sh-elf-gcc compiler) and when I finally compiled the first OS for my
9 Jukebox I decided to write a little tutorial explaining the setup process.
10</P>
11<H2>The GNU-SH Tool Chain for Windows</H2>
12This is actually all you need to download. It includes the binutils, gcc and
13newlib. Download the GNUSH Tool Chain for ELF format (35 MB).
14<P>
15 The GNUSH website can be found at <A href="http://www.kpit.com/download/downloadgnushv0203.htm">
16 http://www.kpit.com/download/downloadgnushv0203.htm</A> (source code is
17 also available there). Get the "GNUSH v0203 Tool Chain for ELF format". <b>Note: </b>
18 The GNUSH v0204 Tool Chain has a bug which causes problems when compiling
19 Rockbox!
20</P>
21<H2>Perl</H2>
22<p>
23Download Perl for Windows from <a href="http://www.activestate.com/Products/ActivePerl/">
24 http://www.activestate.com/Products/ActivePerl/</a>.
25</p>
26<H2>Setting up&nbsp;the Compiler</H2>
27<P>Install the GNUSH Tool Chain (nothing you really have to care about during the
28 installation process).</P>
29<P>
30 <H2>Compiling the latest Rockbox Source
31 </H2>
32<P>Use CVS to download the latest source code of Rockbox (the firmware and apps
33 modules). In addition, you need to copy a win32 compilation of scramble.exe and
34 convbdf.exe into the tools dir. The pre-compiled scramble.exe can be downloaded <A href="http://rockbox.haxx.se/sh-win/scramble.exe">
35 here</A>. The pre-compiled convbdf.exe can be downloaded <A href="http://rockbox.haxx.se/fonts/convbdf.exe">
36 here</A>. From your start menu, open the "SH-ELF tool chain" batch file
37 inside the GNU-SH v0203 program folder. You should end up seeing a command
38 prompt. Go to the apps directory and type:</P>
39<P>
40 <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="1">
41 <TBODY>
42 <TR>
43 <TD>Command</TD>
44 <TD>Description</TD>
45 </TR>
46 <TR>
47 <TD>make -f win32.mak<BR>
48 make -f win32.mak RECORDER = 1</TD>
49 <TD vAlign="top">build for recorder target</TD>
50 </TR>
51 <TR>
52 <TD>make -f win32.mak PLAYER</TD>
53 <TD>build for player target</TD>
54 </TR>
55 <TR>
56 <TD>make -f win32.mak PLAYER_OLD</TD>
57 <TD>build for old player target</TD>
58 </TR>
59 <TR>
60 <TD>make -f win32.mak RECORDER=1 DISABLE_GAMES=1</TD>
61 <TD>build for recorder target, disable games</TD>
62 </TR>
63 <TR>
64 <TD vAlign="top">make -f win32.mak RECORDER=1 PROPFONTS=1</TD>
65 <TD>build for recorder target, enable propfonts</TD>
66 </TR>
67 <TR>
68 <TD vAlign="top">make -f win32.mak RECORDER=1 PROPFONTS=1&nbsp;DISABLE_GAMES =
69 1&nbsp;</TD>
70 <TD>build for recorder target, disable games, use propfonts</TD>
71 </TR>
72 </TBODY></TABLE>
73 </P>
74 <P>I hope this tutorial helped you to compile an Archos firmware with Windows. If
75 you have any questions, comments or corrections, please mail to <A href="mailto:felix.arends@gmx.de">
76 felix.arends@gmx.de</A>
77 6
78#include "foot.t" 7#include "foot.t"