OSDN Git Service

* configure.in (mips-wrs-vxworks): New target.
[pf3gnuchains/gcc-fork.git] / INSTALL / BUILD
1 Building egcs-1.0 
2
3 Now that egcs is configured, you are ready to build the compiler and
4 runtime libraries.
5
6 We highly recommend that egcs be built using gnu-make; other
7 versions make work, then again they might not.  To be safe build with gnu-make.
8
9 Building a native compiler
10 For a native build issue the command "make bootstrap".  This will build
11 the entire egcs compiler system, which includes the following steps:
12
13
14   Build host tools necessary to build the compiler such as texinfo, bison,
15   gperf.
16
17   Build target tools for use by the compiler such as gas, gld, and binutils.
18
19   Perform a 3-stage bootstrap of the compiler.
20
21   Perform a comparison test of the stage2 and stage3 compilers.
22
23   Build runtime libraries using the stage3 compiler from the previous step.
24
25
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
28 from the stage1 and stage2 of the 3-stage bootstrap of the compiler are
29 deleted as soon as they are no longer needed.
30
31 Building a cross compiler
32
33 We recommend reading the crossgcc FAQ for information about building
34 cross compilers.
35 "ftp://ftp.cygnus.com/pub/embedded/crossgcc/FAQ-0.8.1"
36
37 For a cross build, issue the command "make cross", which performs the
38 following steps:
39
40   Build host tools necessary to build the compiler such as texinfo, bison,
41   gperf.
42
43   Build target tools for use by the compiler such as gas, gld, and binutils.
44
45   Build the compiler (single stage only).
46
47   Build runtime libraries using the compiler from the previous step.
48
49
50 Note that if an error occurs in any step the make process will exit.
51
52
53 Last modified on December 2, 1997.
54