LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 763|回复: 4

Re-installation of GCC Error

[复制链接]
发表于 2004-12-24 09:17:33 | 显示全部楼层 |阅读模式
lfs:/mnt/lfs/sources/gcc-3.4.1$ cat /proc/version
Linux version 2.6.8-1.521 (bhcompile@tweety.build.redhat.com) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Mon Aug 16 09:01:18 EDT 2004


Have patched gcc-3.4.1-no_fixincludes-1.patch and  gcc-3.4.1-specs-1.patch

Error here

chmod 644 /tools/lib/libstdc++.a
PATH="$PATH:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /tools/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.


make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
发表于 2004-12-24 09:55:30 | 显示全部楼层
there is not error here....
 楼主| 发表于 2004-12-24 10:03:40 | 显示全部楼层
Thanks
But I make install error
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
I have thought it must be error
发表于 2004-12-24 10:10:07 | 显示全部楼层
there is no error here either......
发表于 2004-12-24 16:30:32 | 显示全部楼层
呵呵,和我一样,开始不知道make  是否成功。
你可以在运行完make 后输入echo $? 如果返回值是0就代表正常结束,其它的就是出错了。也可以这样:make && echo "done"
如果结果输出done,就代表正常结束. :p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表