aboutsummaryrefslogtreecommitdiff
path: root/INSTALL/build.html
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-12-05 15:13:17 -0700
committerJeff Law <law@gcc.gnu.org>1997-12-05 15:13:17 -0700
commitf2d765451e5dee21174c6ca6d4174866dbe24e00 (patch)
treed4816ec61b2c9013a45e2d0b1f5cdc7060e5a9ab /INSTALL/build.html
parent435bba3a39bd51688b1b6cd15c042a17259d1b8b (diff)
downloadgcc-f2d765451e5dee21174c6ca6d4174866dbe24e00.zip
gcc-f2d765451e5dee21174c6ca6d4174866dbe24e00.tar.gz
gcc-f2d765451e5dee21174c6ca6d4174866dbe24e00.tar.bz2
release branch changes from 11-27 snapshot to egcs-1.0.
From-SVN: r16970
Diffstat (limited to 'INSTALL/build.html')
-rw-r--r--INSTALL/build.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/INSTALL/build.html b/INSTALL/build.html
new file mode 100644
index 0000000..750b2c4
--- /dev/null
+++ b/INSTALL/build.html
@@ -0,0 +1,66 @@
+<html>
+<head>
+<title>Building egcs-1.0 </title>
+</head>
+<body bgcolor="white">
+<h1 align="center">Building egcs-1.0</h1>
+
+<p>Now that egcs is configured, you are ready to build the compiler and
+runtime libraries.
+
+<p>We <b>highly</b> recommend that egcs be built using gnu-make; other
+versions make work, then again they might not. To be safe build with gnu-make.
+
+<p><b>Building a native compiler</b>
+<p>For a native build issue the command "make bootstrap". This will build
+the entire egcs compiler system, which includes the following steps:
+
+<ul>
+ <li> Build host tools necessary to build the compiler such as texinfo, bison,
+ gperf.<p>
+
+ <li> Build target tools for use by the compiler such as gas, gld, and
+ binutils.<p>
+
+ <li> Perform a 3-stage bootstrap of the compiler.<p>
+
+ <li> Perform a comparison test of the stage2 and stage3 compilers.<p>
+
+ <li> Build runtime libraries using the stage3 compiler from the previous
+ step.<p>
+</ul>
+
+<p>If you are short on disk space you might consider "make bootstrap-lean"
+instead. This is identical to "make bootstrap" except that object files
+from the stage1 and stage2 of the 3-stage bootstrap of the compiler are
+deleted as soon as they are no longer needed.
+
+<p><b>Building a cross compiler</b>
+
+<p> We recommend reading the
+<a href="ftp://ftp.cygnus.com/pub/embedded/crossgcc/FAQ-0.8.1">
+crossgcc FAQ</a> for information about building cross compilers.
+
+<p>For a cross build, issue the command "make cross", which performs the
+following steps:
+<ul>
+ <li> Build host tools necessary to build the compiler such as texinfo, bison,
+ gperf.<p>
+
+ <li> Build target tools for use by the compiler such as gas, gld, and
+ binutils.<p>
+
+ <li> Build the compiler (single stage only).<p>
+
+ <li> Build runtime libraries using the compiler from the previous
+ step.<p>
+</ul>
+
+<p>Note that if an error occurs in any step the make process will exit.
+
+<p>
+<hr>
+<i>Last modified on December 2, 1997.</i>
+
+</body>
+</html>