Changeset ae2e9f2 in rtems
- Timestamp:
- 04/14/98 21:17:53 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a6aa8a9
- Parents:
- 3b89891
- Location:
- doc/started
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/started/buildc.t
r3b89891 rae2e9f2 22 22 23 23 @example 24 mkdir arc 24 mkdir archive 25 25 mkdir tools 26 26 @end example … … 29 29 one shown in the following figure: 30 30 31 @ifset use-ascii32 31 @example 33 32 @group 34 parent directory common to the 35 tools and archive subdirectories 36 | 37 +----------------------+----------------------+ 38 | | 39 tools arc 33 /whatever/prefix/you/choose/ 34 archive/ 35 tools/ 36 40 37 @end group 41 38 @end example 42 @end ifset 43 44 45 @ifset use-tex 46 @c for now use the ascii version 47 @example 48 @group 49 parent directory common to the 50 tools and archive subdirectories 51 | 52 +----------------------+----------------------+ 53 | | 54 tools arc 55 @end group 56 @end example 57 @tex 58 @end tex 59 @end ifset 60 61 62 @ifset use-html 63 @html 64 <IMG SRC="sfile12c.jpg" WIDTH=417 HEIGHT=178 65 ALT="Starting Directory Organization"> 66 @end html 67 @end ifset 39 40 @c @ifset use-html 41 @c @html 42 @c <IMG SRC="sfile12c.jpg" WIDTH=417 HEIGHT=178 43 @c ALT="Starting Directory Organization"> 44 @c @end html 45 @c @end ifset 68 46 69 47 @section Get All the Pieces … … 149 127 @example 150 128 cd tools 151 tar xzf ../arc /@value{GCC-TAR}152 tar xzf ../arc /@value{BINUTILS-TAR}153 tar xzf ../arc /@value{NEWLIB-TAR}129 tar xzf ../archive/@value{GCC-TAR} 130 tar xzf ../archive/@value{BINUTILS-TAR} 131 tar xzf ../archive/@value{NEWLIB-TAR} 154 132 @end example 155 133 … … 163 141 @end itemize 164 142 165 The @code{bit} script will automatically create two other 166 subdirectories: 143 Copy the @code{bit} script from the @code{archive} directory 144 to the @code{tools} directory as shown below: 145 146 @example 147 cp ../archive/bit . 148 @end example 149 150 When the @code{bit} script is executed later in this process, 151 it will automatically create two other subdirectories: 167 152 168 153 @itemize @bullet … … 171 156 @end itemize 172 157 173 Ignoring version numbers, this will look something like the following figure: 174 175 @ifset use-ascii 158 @itemize @bullet 159 @item src 160 @item build-$@{CPU@}-tools 161 @end itemize 162 163 The tree should look something like the following figure: 164 176 165 @example 177 166 @group 178 tools 179 | bit (script) 180 + 181 +---------+-------------+------------+----------------+ 182 | | | | | 183 src binutils-2.9 egcs-1.0.2 newlib-1.8.0 build-$@{CPU@}-tools 167 /whatever/prefix/you/choose/ 168 bit 169 archive/ 170 @value{GCC-TAR} 171 @value{BINUTILS-TAR} 172 @value{NEWLIB-TAR} 173 @value{RTEMS-TAR} 174 @ifset GCC-RTEMSPATCH 175 @value{GCC-RTEMSPATCH} 176 @end ifset 177 @ifset BINUTILS-RTEMSPATCH 178 @value{BINUTILS-RTEMSPATCH} 179 @end ifset 180 @ifset NEWLIB-RTEMSPATCH 181 @value{NEWLIB-RTEMSPATCH} 182 @end ifset 183 hello_world_c.tgz 184 bit 185 tools/ 186 @value{BINUTILS-UNTAR}/ 187 @value{GCC-UNTAR}/ 188 @value{NEWLIB-UNTAR}/ 189 @value{RTEMS-UNTAR}/ 190 bit 191 184 192 @end group 185 193 @end example 186 @end ifset 187 188 189 @ifset use-tex 190 @c for now use the ascii version 191 @example 192 @group 193 tools 194 | bit (script) 195 + 196 +---------+-------------+------------+----------------+ 197 | | | | | 198 src binutils-2.9 egcs-1.0.2 newlib-1.8.0 build-${CPU}-tools 199 @end group 200 @end example 201 @tex 202 @end tex 203 @end ifset 204 205 @ifset use-html 206 @html 207 <IMG SRC="bit_c.jpg" WIDTH=816 HEIGHT=267 ALT="Directory Organization"> 208 @end html 209 @end ifset 194 195 196 @c @ifset use-html 197 @c @html 198 @c <IMG SRC="bit_c.jpg" WIDTH=816 HEIGHT=267 ALT="Directory Organization"> 199 @c @end html 200 @c @end ifset 210 201 211 202 @c … … 236 227 @example 237 228 cd tools/@value{GCC-UNTAR} 238 zcat arc /@value{GCC-RTEMSPATCH} | patch -p1229 zcat archive/@value{GCC-RTEMSPATCH} | patch -p1 239 230 @end example 240 231 … … 268 259 @example 269 260 cd tools/@value{BINUTILS-UNTAR} 270 zcat arc /@value{BINUTILS-RTEMSPATCH} | patch -p1261 zcat archive/@value{BINUTILS-RTEMSPATCH} | patch -p1 271 262 @end example 272 263 … … 301 292 @example 302 293 cd tools/@value{NEWLIB-UNTAR} 303 zcat arc /@value{NEWLIB-RTEMSPATCH} | patch -p1294 zcat archive/@value{NEWLIB-RTEMSPATCH} | patch -p1 304 295 @end example 305 296 … … 323 314 @section Modify the bit Script 324 315 325 Copy the @code{bit} script from arcto the tools directory.316 Copy the @code{bit} script from @code{archive} to the tools directory. 326 317 327 318 Edit the @code{bit} file to alter the following environmental variables: -
doc/started/buildrt.t
r3b89891 rae2e9f2 17 17 @example 18 18 cd tools 19 tar xzf ../arc /@value{RTEMS-TAR}19 tar xzf ../archive/@value{RTEMS-TAR} 20 20 @end example 21 21 -
doc/started/gdb.t
r3b89891 rae2e9f2 27 27 @example 28 28 cd tools 29 tar xzf ../arc /@value{GDB-TAR}29 tar xzf ../archive/@value{GDB-TAR} 30 30 @end example 31 31 … … 49 49 @example 50 50 cd tools/@value{GDB-UNTAR} 51 zcat arc /@value{GDB-RTEMSPATCH} | patch -p151 zcat archive/@value{GDB-RTEMSPATCH} | patch -p1 52 52 @end example 53 53 -
doc/started/require.t
r3b89891 rae2e9f2 17 17 | Component | Disk Space Required | 18 18 +----------------------------------------+------------------------------+ 19 | arc directory| 20 Mbytes |19 | archive directory | 20 Mbytes | 20 20 | tools src unzipped | 77 Mbytes | 21 21 | each individual build directory | 120 Mbytes worst case | -
doc/started/sample.t
r3b89891 rae2e9f2 15 15 @example 16 16 cd tools 17 tar xzf ../arc /hello_world_c.tgz17 tar xzf ../archive/hello_world_c.tgz 18 18 @end example 19 19
Note: See TracChangeset
for help on using the changeset viewer.