|
|

楼主 |
发表于 2005-5-22 11:10:10
|
显示全部楼层
我的具体操作步骤如下:gcc-3.4.4在/usr目录下
mkdir gcc-3.4.4_obj
cd gcc-3.4.4_obj
../gcc-3.4.4/configure --prefix /usr
提示如下:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
接下来执行:make bootstrap
就提示:
configure: error: expected an absolute directory name for --prefix: --with-gcc-version-trigger=/usr/gcc-3.4.4/gcc/version.c
make: *** [configure-libiberty] 错误 1
我以前编译的时候按同样的步骤执行没有任何问题。第二次执行就不行了。就重新安装了系统,可还是不行。我需要重新编译gcc后安装一个软件。急等,请各位大侠帮帮忙啊,谢谢了先。 |
|