Installing GNU Compiler49
gcc-3.0.4/INSTALL/build.html
gcc-3.0.4/INSTALL/test.html
gcc-3.0.4/INSTALL/finalinstall.html
gcc-3.0.4/INSTALL/binaries.html
gcc-3.0.4/INSTALL/gfdl.html
gcc-3.0.4/.cvsignore
gcc-3.0.4/COPYING
gcc-3.0.4/COPYING.LIB
gcc-3.0.4/ChangeLog
gcc-3.0.4/MAINTAINERS
gcc-3.0.4/Makefile.in
gcc-3.0.4/README
This is a partial output of the command. Most of the output is truncated to save space.
3.2.2.2Running
configure
Script
After uncompressing the source code, the first thing is to run the
configure
script. This
script is found in
/gcc3/gcc-3.0.4
directory. You can specify three major things when you
run the
configure
script.
1.
Build machine. This is the machine where you compile and build the compiler.
2.
Host machine. This is the machine where compiler will be installed. This is usually the
same as the build machine.
3.
Target machine. This is the machine for which the newly built compiler will generate
executable code. If you are building a native compiler, this is the same machine as the
host machine. If you are building a cross-compiler, this machine will be different than
the host machine.
Each of these machines names are used in the following format:
CPUname-CompanyName-SystemName
For example, if you want to build a compiler that will run on a sparc processor made by
Sun Microsystems and on SunOS 4.1 operating system, the command line for
configure
script will be as follows:
./configure –host=sparc-sun-sunos4.1
Please see a list of supported systems at http://gcc.gnu.org/onlinedocs/gcc-3.0.4/
gcc_4.html .
For a native compiler (a compiler that runs on the same machine where it is built and gen-
erates code for the same machine), you don’t need to specify any options on the command line
when you run the
configure
script. However, if you are building a cross-compiler, you must
specify the target machine. Similarly, if you are building a compiler that will be installed on
some other machine, you have to specify the host machine.
Next Page >>
<< Previous Page
Back to the Table of Contents