3 <title>Building egcs-1.0 </title>
6 <h1 align="center">Building egcs-1.0</h1>
8 <p>Now that egcs is configured, you are ready to build the compiler and
11 <p>We <b>highly</b> recommend that egcs be built using gnu-make; other
12 versions make work, then again they might not. To be safe build with gnu-make.
14 <p><b>Building a native compiler</b>
15 <p>For a native build issue the command "make bootstrap". This will build
16 the entire egcs compiler system, which includes the following steps:
19 <li> Build host tools necessary to build the compiler such as texinfo, bison,
22 <li> Build target tools for use by the compiler such as gas, gld, and
25 <li> Perform a 3-stage bootstrap of the compiler.<p>
27 <li> Perform a comparison test of the stage2 and stage3 compilers.<p>
29 <li> Build runtime libraries using the stage3 compiler from the previous
33 <p>If you are short on disk space you might consider "make bootstrap-lean"
34 instead. This is identical to "make bootstrap" except that object files
35 from the stage1 and stage2 of the 3-stage bootstrap of the compiler are
36 deleted as soon as they are no longer needed.
38 <p><b>Building a cross compiler</b>
40 <p> We recommend reading the
41 <a href="ftp://ftp.cygnus.com/pub/embedded/crossgcc/FAQ-0.8.1">
42 crossgcc FAQ</a> for information about building cross compilers.
44 <p>For a cross build, issue the command "make cross", which performs the
47 <li> Build host tools necessary to build the compiler such as texinfo, bison,
50 <li> Build target tools for use by the compiler such as gas, gld, and
53 <li> Build the compiler (single stage only).<p>
55 <li> Build runtime libraries using the compiler from the previous
59 <p>Note that if an error occurs in any step the make process will exit.
63 <i>Last modified on December 2, 1997.</i>