I used 4. Be patient with the tar command; it takes several minutes. That will create a subdirectory named gcc Compilers for other languages, such as Fortran, Java and Go, will be excluded. This will save compile time. The --disable-bootstrap option means that we only want to build the new compiler once. However, the system GCC compiler 4. This will save a significant amount of compile time. This is the longest step.
We need to install additionally required packages: sudo yum install svn texinfo-tex flex zip libgcc. We decided to compile GCC 6. This steps could takes few minutes depending on your internet connection.
After getting all files, lets install source of additional prerequisites. Run this command inside of the source files. However, If you have more than 2GB you can skip this step. This step add MB of virtual memory, using a swap file. We are building! The Cygwin 1. GCC 4. This article describes how to upgrade your Cygwin GCC installation to a more recent version e.
Alternatively, MinGW can be installed alongside Cygwin. Follow the links to learn more about the GCC 4. For discussion and mention of user- or system-specific issues, please use the "Talk" button above. If you also intend to build binutils either to upgrade an existing installation or for use in place of the corresponding tools of your OS , unpack the binutils distribution either in the same directory or a separate one.
In the latter case, add symbolic links to any components of the binutils you intend to build alongside the compiler bfd , binutils , gas , gprof , ld , opcodes , … to the directory containing the GCC sources.
0コメント