Probably I don't have any compiler
I think I didn't install packages for development
50Chapter3 •
It is recommended to run the configure script in a directory other than the source code directory so that the source code tree is completely separate from the place where you build thecompiler.
For the sake of this example, I have created a directory /gcc3/objdir and I ran the configure script from that directory. As you already know, the source code tree is under the /gcc3/gcc-3.0.4directory. You may need to add a prefix for GCC installation files. The pre-fix shows the directory where GCC files will be finally installed. The default prefix is /usr/local. This means that GCC binary files will be installed in /usr/local/bindirectory.
For installation purposes, I have selected /opt/gcc-3.0.4directory as the prefix. In a typical development environment, you would do something similar to that. Just create a directory under /opt and install all of your tools and applications under /opt. The following command line will configure the GCC compilation process and will create many files under /gcc3/objdir. These files will be used later on to build the compiler.
When you start the configure script, the following messages will start scrolling up.
[root@laptop objdir]# ../gcc-3.0.4/configure --prefix=/opt/gcc-3.0.4
Configuring for a i686-pc-linux-gnu host.Created "Makefile" in /gcc3/gcc-3.0.4 using "mt-frag"Configuring libiberty...creating cache ../config.cachechecking host system type... i686-pc-linux-