Changeset ae2e9f2 in rtems


Ignore:
Timestamp:
Apr 14, 1998, 9:17:53 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a6aa8a9
Parents:
3b89891
Message:

"arc" changed to "archive"

Pictures now in ASCII.

Location:
doc/started
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • doc/started/buildc.t

    r3b89891 rae2e9f2  
    2222
    2323@example
    24 mkdir arc
     24mkdir archive
    2525mkdir tools
    2626@end example
     
    2929one shown in the following figure:
    3030
    31 @ifset use-ascii
    3231@example
    3332@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
    4037@end group
    4138@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
    6846
    6947@section Get All the Pieces
     
    149127@example
    150128cd tools
    151 tar xzf ../arc/@value{GCC-TAR}
    152 tar xzf ../arc/@value{BINUTILS-TAR}
    153 tar xzf ../arc/@value{NEWLIB-TAR}
     129tar xzf ../archive/@value{GCC-TAR}
     130tar xzf ../archive/@value{BINUTILS-TAR}
     131tar xzf ../archive/@value{NEWLIB-TAR}
    154132@end example
    155133
     
    163141@end itemize
    164142
    165 The @code{bit} script will automatically create two other
    166 subdirectories:
     143Copy the @code{bit} script from the @code{archive} directory
     144to the @code{tools} directory as shown below:
     145
     146@example
     147cp ../archive/bit .
     148@end example
     149
     150When the @code{bit} script is executed later in this process,
     151it will automatically create two other subdirectories:
    167152
    168153@itemize @bullet
     
    171156@end itemize
    172157
    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
     163The tree should look something like the following figure:
     164
    176165@example
    177166@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
    184192@end group
    185193@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
    210201
    211202@c
     
    236227@example
    237228cd tools/@value{GCC-UNTAR}
    238 zcat arc/@value{GCC-RTEMSPATCH} | patch -p1
     229zcat archive/@value{GCC-RTEMSPATCH} | patch -p1
    239230@end example
    240231
     
    268259@example
    269260cd tools/@value{BINUTILS-UNTAR}
    270 zcat arc/@value{BINUTILS-RTEMSPATCH} | patch -p1
     261zcat archive/@value{BINUTILS-RTEMSPATCH} | patch -p1
    271262@end example
    272263
     
    301292@example
    302293cd tools/@value{NEWLIB-UNTAR}
    303 zcat arc/@value{NEWLIB-RTEMSPATCH} | patch -p1
     294zcat archive/@value{NEWLIB-RTEMSPATCH} | patch -p1
    304295@end example
    305296
     
    323314@section Modify the bit Script
    324315
    325 Copy the @code{bit} script from arc to the tools directory.
     316Copy the @code{bit} script from @code{archive} to the tools directory.
    326317
    327318Edit the @code{bit} file to alter the following environmental variables:
  • doc/started/buildrt.t

    r3b89891 rae2e9f2  
    1717@example
    1818cd tools
    19 tar xzf ../arc/@value{RTEMS-TAR}
     19tar xzf ../archive/@value{RTEMS-TAR}
    2020@end example
    2121
  • doc/started/gdb.t

    r3b89891 rae2e9f2  
    2727@example
    2828cd tools
    29 tar xzf ../arc/@value{GDB-TAR}
     29tar xzf ../archive/@value{GDB-TAR}
    3030@end example
    3131
     
    4949@example
    5050cd tools/@value{GDB-UNTAR}
    51 zcat arc/@value{GDB-RTEMSPATCH} | patch -p1
     51zcat archive/@value{GDB-RTEMSPATCH} | patch -p1
    5252@end example
    5353
  • doc/started/require.t

    r3b89891 rae2e9f2  
    1717|                Component               |     Disk Space Required      |
    1818+----------------------------------------+------------------------------+
    19 |             arc directory              |          20 Mbytes           |
     19|          archive directory             |          20 Mbytes           |
    2020|          tools src unzipped            |          77 Mbytes           |
    2121|    each individual build directory     |    120 Mbytes worst case     |
  • doc/started/sample.t

    r3b89891 rae2e9f2  
    1515@example
    1616cd tools
    17 tar xzf ../arc/hello_world_c.tgz
     17tar xzf ../archive/hello_world_c.tgz
    1818@end example
    1919
Note: See TracChangeset for help on using the changeset viewer.