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