Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 uid=99(nobody) gid=98(nobody) groups=98(nobody) Safe-mode: OFF (not secure) /usr/doc/gcc-3.2.2/INSTALL/ drwxr-xr-x | |
| Viewing file: Select action/file-type: N ow that GCC is configured, you are ready to build the compiler and runtime libraries. We highly recommend that GCC be built using GNU make; other versions may work, then again they might not. GNU make is required for compiling GNAT (the Ada compiler) and the Java runtime library. (For example, many broken versions of make will fail if you use the recommended setup where objdir is different from srcdir. Other broken versions may recompile parts of the compiler when installing the compiler.) Some commands executed when making the compiler may fail (return a
nonzero status) and be ignored by It is normal to have compiler warnings when compiling certain files. Unless you are a GCC developer, you can generally ignore these warnings unless they cause compilation to fail. On certain old systems, defining certain environment variables such as
If you encounter seemingly strange errors when trying to build the compiler in a directory other than the source directory, it could be because you have previously configured the compiler in the source directory. Make sure you have done all the necessary preparations. If you build GCC on a BSD system using a directory stored in an old System
V file system, problems may occur in running The solution is not to use such a directory for building GCC. When building from CVS or snapshots, or if you modify parser sources, you need the Bison parser generator installed. Any version 1.25 or later should work; older versions may also work. If you do not modify parser sources, releases contain the Bison-generated files and you do not need Bison installed to build them. When building from CVS or snapshots, or if you modify Texinfo documentation, you need version 4.1 or later of Texinfo installed if you want Info documentation to be regenerated. Releases contain Info documentation pre-built for the unmodified documentation in the release. Building a native compilerFor a native build issue the command
If you are short on disk space you might consider If you want to save additional space during the bootstrap and in the final installation as well, you can build the compiler binaries without debugging information as in the following example. This will save roughly 40% of disk space both for the bootstrap and the final installation. (Libraries will still contain debugging information.) make CFLAGS='-O' LIBCFLAGS='-g -O2' \
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
If you wish to use non-default GCC flags when compiling the stage2 and
stage3 compilers, set If you used the flag If the comparison of stage2 and stage3 fails, this normally indicates
that the stage2 compiler has compiled GCC incorrectly, and is therefore
a potentially serious bug which you should investigate and report. (On
a few systems, meaningful comparison of object files is impossible; they
always appear "different". If you encounter this problem, you will
need to disable comparison in the Building a cross compilerWe recommend reading the crossgcc FAQ for information about building cross compilers. When building a cross compiler, it is not generally possible to do a 3-stage bootstrap of the compiler. This makes for an interesting problem as parts of GCC can only be built with GCC. To build a cross compiler, we first recommend building and installing a native compiler. You can then use the native GCC compiler to build the cross compiler. The installed native compiler needs to be GCC version 2.95 or later. Assuming you have already installed a native copy of GCC and configured
your cross compiler, issue the command
Note that if an error occurs in any step the make process will exit. Building in parallelIf you have a multiprocessor system you can use Building the Ada compilerIn order to build GNAT, the Ada compiler, you need a working GNAT compiler (GNAT version 3.13 or later, or GCC version 3.1 or later), since the Ada front end is written in Ada (with some GNAT-specific extensions), and GNU make. However, you do not need a full installation of GNAT, just the GNAT
binary Additional build tools (such as cd srcdir/gcc/ada
touch treeprs.ads [es]info.h nmake.ad[bs]
At the moment, the GNAT library and several tools for GNAT are not built
by For example, you can build a native Ada compiler by issuing the
following commands (assuming cd objdir
srcdir/configure --enable-languages=c,ada
cd srcdir/gcc/ada
touch treeprs.ads [es]info.h nmake.ad[bs]
cd objdir
make bootstrap
cd gcc
make gnatlib_and_tools
cd ..
Currently, when compiling the Ada front end, you cannot use the parallel build feature described in the previous section. |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0138 ]-- |