root@dog:~# cd gcc-6.2.0
root@dog:~/gcc-6.2.0# ls
ABOUT-NLS depcomp libgfortran lto-plugin
boehm-gc fixincludes libgo ltoptions.m4
ChangeLog gcc libgomp ltsugar.m4
ChangeLog.jit gnattools libiberty ltversion.m4
ChangeLog.tree-ssa gotools libitm MAINTAINERS
compile include libjava maintainer-scripts
config INSTALL libmpx Makefile.def
config.guess install-sh libobjc Makefile.in
config-ml.in intl liboffloadmic Makefile.tpl
config.rpath LAST_UPDATED libquadmath MD5SUMS
config.sub libada libsanitizer missing
configure libatomic libssp mkdep
configure.ac libbacktrace libstdc++-v3 mkinstalldirs
contrib libcc1 libtool-ldflags move-if-change
COPYING libcilkrts libtool.m4 NEWS
COPYING3 libcpp libvtv README
COPYING3.LIB libdecnumber ltgcc.m4 symlink-tree
COPYING.LIB libffi ltmain.sh ylwrap
COPYING.RUNTIME libgcc lt~obsolete.m4 zlib
root@dog:~/gcc-6.2.0# gedit install-sh
root@dog:~/gcc-6.2.0# ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... no
checking for mawk... mawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libmpx support... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.
root@dog:~/gcc-6.2.0# make
make: *** Не заданы цели и не найден make-файл. Останов.
root@dog:~/gcc-6.2.0# make install
make: *** Нет правила для сборки цели «install». Останов.
Как вы уже поняли, я не знаю как продолжить установку компилятора GCC. Пожалуйста помогите!)