Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 comments
  • 2 contributors

Showing 1 changed file with 41 additions and 29 deletions. Show diff stats Hide diff stats

  1. 70  README.html
70  README.html
@@ -57,7 +57,7 @@ <h1 align="center">Milkymist Scripts README</h1>
57 57
 <LI>Compile and install.
58 58
   download toolchain sources and compile toolchain:
59 59
     <pre>
60  
-    $ make -C compile-lm32-rtems  
  60
+    $ make -C compile-lm32-rtems
61 61
     </pre>
62 62
 </LI>
63 63
   
@@ -94,22 +94,21 @@ <h1 align="center">Milkymist Scripts README</h1>
94 94
 
95 95
 <h2><a name="secHost">Host Specific Requirements</a></h2>
96 96
 <ol>
97  
-<li><a href="#secUbuntu">Ubuntu 11.04 Desktop</a>
98  
-</li><li><a href="#secOSX">Mac OS X 10.6 Snow Leopard</a>
99  
-</li>
  97
+<li><a href="#secUbuntu">Ubuntu 11.04 Desktop</a> </li>
  98
+<li><a href="#secOSX">Mac OS X 10.6 Snow Leopard</a> </li>
100 99
 </ol>
101 100
 
102 101
 <h3><a name="secUbuntu">Ubuntu 11.04 Desktop</a></h3>
103 102
 <p>
104  
-Ubuntu 11.04 comes with autotools 2.67 but rtems needs autotools 2.68.  Some of the autotools have hard coded paths so any existing installtion interfers with an installation done in an alternate path.  (There's probably a way around this but I don't know what it is.)  To get around this we remove the old autotools and install news ones.
  103
+Ubuntu 11.04 comes with autotools 2.67 but rtems needs autotools 2.68. Some of the autotools have hard coded paths so any existing installtion interfers with an installation done in an alternate path. (There's probably a way around this but I don't know what it is.) To get around this we remove the old autotools and install news ones.
105 104
 <OL>
106 105
 <LI>Remove the folowing packages (sudo apt-get remove `packagename`):
107 106
 <UL>
108  
-	<LI>autotools-dev</LI>
109  
-	<LI>autoconf</LI>
110  
-	<LI>automake</LI>
111  
-	<LI>libtool</LI>
112  
-	<LI>m4</LI>
  107
+<LI>autotools-dev</LI>
  108
+<LI>autoconf</LI>
  109
+<LI>automake</LI>
  110
+<LI>libtool</LI>
  111
+<LI>m4</LI>
113 112
 </UL>
114 113
 </LI>
115 114
 <LI>Install the latest autotools, M4, and libtool:
@@ -139,25 +138,28 @@ <h1 align="center">Milkymist Scripts README</h1>
139 138
 $ export PATH M4
140 139
 </pre>
141 140
 </LI>
142  
-<LI>Install the following packages (needed tool / package name): 
  141
+<LI>Install the following packages (needed tool / package name):
143 142
 <UL>
144  
-	<LI>jpeg: libjpeg-dev</LI>
145  
-	<LI>freetype: libfreetype6-dev</LI>
146  
-	<LI>clang: clang </LI>
147  
-	<LI>gcc-multilib: gcc-multilib (for flterm 'asm/ioctls.h' file not found error) </LI>
148  
-	<LI>GD graphics library: libgd2-xpm-dev </LI>
149  
-	<LI>makeinfo: texinfo </LI>
150  
-	<LI>curses: libncurses-dev </LI>
151  
-	<LI>lemon: lemon </LI>
152  
-	<LI>re2c: re2c</LI>
  143
+<LI>jpeg: libjpeg-dev</LI>
  144
+<LI>freetype: libfreetype6-dev</LI>
  145
+<LI>clang: clang </LI>
  146
+<LI>gcc-multilib: gcc-multilib (for flterm 'asm/ioctls.h' file not found error) </LI>
  147
+<LI>GD graphics library: libgd2-xpm-dev </LI>
  148
+<LI>makeinfo: texinfo </LI>
  149
+<LI>curses: libncurses-dev </LI>
  150
+<LI>lemon: lemon </LI>
  151
+<LI>re2c: re2c</LI>
153 152
 </UL>
154 153
 </LI>
155 154
 </OL>
156 155
 
157 156
 <h3><a name="secOSX">Mac OS X 10.6 Snow Leopard</a></h3>
158 157
 <OL>
  158
+<LI>(Optional) Edit compile-lm32-rtems/Makefile and add the --disable-werror option to the binutils configure command.  This is only necessary with some versions of GCC.  If you don't get a build error about shadowed functions you don't need this step.
  159
+</LI>
  160
+
159 161
 <LI>Update autotools
160  
-OS X 10.6 and prior require updated autotools.  Download, build, and install automake and autoconf and add them to your path.  Note that aclocal does not call the autoconf binary, so the _path_ that your autoconf is in doesn't matter. It _does_ look at m4 macros, though, and it appears to find autoconf macros out of /usr/share, which corresponds to the system autoconf (2.61 on osx). Therefore you must rename or delete the following to use the newly installed versions:
  162
+OS X 10.6 and prior require updated autotools. Download, build, and install automake and autoconf and add them to your path. Note that aclocal does not call the autoconf binary, so the _path_ that your autoconf is in doesn't matter. It _does_ look at m4 macros, though, and it appears to find autoconf macros out of /usr/share, which corresponds to the system autoconf (2.61 on osx). Therefore you must rename or delete the following to use the newly installed versions:
161 163
 
162 164
 <pre>
163 165
 /usr/bin/autoheader
@@ -167,26 +169,29 @@ <h1 align="center">Milkymist Scripts README</h1>
167 169
 /usr/share/autoconf
168 170
 /usr/share/automake
169 171
 </pre>
  172
+</LI>
170 173
 
171  
-<LI> Install wget.  The Makefiles use wget instead of curl. So build and install wget:
  174
+<LI> Install wget. The Makefiles use wget instead of curl. So build and install wget:
172 175
 <pre>
173 176
 $ curl ftp://ftp.gnu.org/gnu/wget/wget-1.12.tar.gz -o wget-1.12.tar.gz
174 177
 $ tar xzvf wget-1.12.tar.gz
175 178
 $ cd wget-1.12
176 179
 $ ./configure --prefix=/opt
177  
-$ make 
  180
+$ make
178 181
 $ make install
179 182
 </pre>
  183
+</LI>
180 184
 
181  
-<LI> Install lemon.  OS X also needs the Lemon parser generator. It needs to be built from source as shown:
  185
+<LI> Install lemon. OS X also needs the Lemon parser generator. It needs to be built from source as shown:
182 186
 <pre>
183 187
 $ curl http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c -o lemon.c
184 188
 $ curl http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lempar.c -o lempar.c
185 189
 $ gcc -o lemon lemon.c
186 190
 $ cp lemon lempar.c /opt/bin
187 191
 </pre>
  192
+</LI>
188 193
 
189  
-<LI> Install re2c.  OS X also needs re2c from http://sourceforge.net/projects/re2c/
  194
+<LI> Install re2c. OS X also needs re2c from http://sourceforge.net/projects/re2c/
190 195
 <pre>
191 196
 $ curl http://surfnet.dl.sourceforge.net/project/re2c/re2c/0.13.5/re2c-0.13.5.tar.gz -o re2c-0.13.5.tar.gz
192 197
 $ tar xzvf re2c-0.13.5.tar.gz
@@ -195,16 +200,18 @@ <h1 align="center">Milkymist Scripts README</h1>
195 200
 $ make
196 201
 $ make install
197 202
 </pre>
  203
+</LI>
198 204
 
199  
-<LI> Install sed.  (OS X sed behaves differently from what the Makefile expects):
  205
+<LI> Install sed. (OS X sed behaves differently from what the Makefile expects):
200 206
 <pre>
201 207
 $ curl ftp://ftp.gnu.org/gnu/sed/sed-4.2.tar.gz -o sed-4.2.tar.gz
202  
-$ tar xzvf sed-4.2.tar.gz 
  208
+$ tar xzvf sed-4.2.tar.gz
203 209
 $ cd sed-4.2
204 210
 $ ./configure --prefix=/opt
205 211
 $ make
206 212
 $ make install
207 213
 </pre>
  214
+</LI>
208 215
 
209 216
 <LI> Install Freetype.
210 217
 <pre>
@@ -215,6 +222,7 @@ <h1 align="center">Milkymist Scripts README</h1>
215 222
 $ make
216 223
 $ make install
217 224
 </pre>
  225
+</LI>
218 226
 
219 227
 <LI> Install libjpeg.
220 228
 <pre>
@@ -225,6 +233,7 @@ <h1 align="center">Milkymist Scripts README</h1>
225 233
 $ make
226 234
 $ make install
227 235
 </pre>
  236
+</LI>
228 237
 
229 238
 <LI> Install XMP library.
230 239
 <pre>
@@ -232,6 +241,7 @@ <h1 align="center">Milkymist Scripts README</h1>
232 241
 $ make -f Makefile.noX
233 242
 $ make -f Makefile.noX install
234 243
 </pre>
  244
+</LI>
235 245
 
236 246
 <LI> Install Portable Network Graphics library.
237 247
 <pre>
@@ -242,6 +252,7 @@ <h1 align="center">Milkymist Scripts README</h1>
242 252
 $ make
243 253
 $ make install
244 254
 </pre>
  255
+</LI>
245 256
 
246 257
 <LI> Install the GD Graphics Library.
247 258
 <pre>
@@ -251,10 +262,11 @@ <h1 align="center">Milkymist Scripts README</h1>
251 262
 $ ./configure
252 263
 edit the generated config.h file and comment out the line:
253 264
     #define HAVE_LIBFONTCONFIG 1
254  
-to 
  265
+to
255 266
     /* #define HAVE_LIBFONTCONFIG 1 */
256 267
 $ make
257 268
 $ make install
258 269
 </pre>
  270
+</LI>
259 271
 </OL>
260  
-</body>
  272
+</body>

No commit comments for this range

Something went wrong with that request. Please try again.