linux make错误!! 谢谢

来源:百度知道 编辑:UC知道 时间:2024/09/26 13:20:17
make: *** 没有指明目标并且找不到 makefile。 停止。
我显示进入那目录,然后./configure, 显示:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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 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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gn

Building GCC requires GMP 4.1+ and MPFR 2.3.2+.

gcc需要自己编译吗?如果你在装LFS,可以参考它们的文档。

如果不是,只要用包管理器装上gcc就好了。

LFS GCC编译帮助:
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html

下载mpfr和gmp这两个包 安装 注意版本