3 Now that egcs is configured, you are ready to build the compiler and runtime
6 We highly recommend that egcs be built using gnu-make; other versions make
7 work, then again they might not. To be safe build with gnu-make.
9 Building a native compiler
11 For a native build issue the command "make bootstrap". This will build the
12 entire egcs compiler system, which includes the following steps:
14 * Build host tools necessary to build the compiler such as texinfo, bison,
17 * Build target tools for use by the compiler such as gas, gld, and binutils.
19 * Perform a 3-stage bootstrap of the compiler.
21 * Perform a comparison test of the stage2 and stage3 compilers.
23 * Build runtime libraries using the stage3 compiler from the previous step.
26 If you are short on disk space you might consider "make bootstrap-lean"
27 instead. This is identical to "make bootstrap" except that object files from the
28 stage1 and stage2 of the 3-stage bootstrap of the compiler are deleted as soon
29 as they are no longer needed. Building a cross compiler
31 We recommend reading the crossgcc FAQ for information about building cross
32 compilers. (ftp.cygnus.com:pub/crossgcc)
34 For a cross build, issue the command "make cross", which performs the
37 * Build host tools necessary to build the compiler such as texinfo, bison,
40 * Build target tools for use by the compiler such as gas, gld, and binutils.
42 * Build the compiler (single stage only).
44 * Build runtime libraries using the compiler from the previous step.
46 Note that if an error occurs in any step the make process will exit.