- 论坛徽章:
- 0
|
configure无错误,make时也无错,在make install时最后出现如下
checking for suffix of object files... configure: error: in `/home/xxx/Public/gcc-4.8.2/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/xxx/Public/gcc-4.8.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/xxx/Public/gcc-4.8.2'
make: *** [all] Error 2
在编译之前安装了依赖文件:gmp,mpfr,mpc,其中在最后编译gmp时出现了提示
Libraries have been installed in:
/usr/local/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( manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
/usr/bin/install -c -m 644 'gmp.h' '/usr/local/include/gmp.h'
test -z "/usr/local/include" || mkdir -p -- . "/usr/local/include"
make install-data-hook
make[4]: Entering directory `/home/Lavine/Downloads/gmp-4.3.2'
+-------------------------------------------------------------+
| CAUTION: |
| |
| If you have not already run "make check", then we strongly |
| recommend you do so. |
| |
| GMP has been carefully tested by its authors, but compilers |
| are all too often released with serious bugs. GMP tends to |
| explore interesting corners in compilers and has hit bugs |
| on quite a few occasions. |
| |
+-------------------------------------------------------------+
|
|