gcc upgrade
Some notes on a gcc compile/ upgrade I did...
gcc upgrade
-----------
gmp:
[root]# ./configure
[root]# make
[root]# make check
[root]# make install
mpfr:
[root]# ./configure
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
[root]# ./configure --with-gmp=/usr/local/lib/
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
[root]# grep "^CC\|^CFLAGS" gmp-4.3.1/Makefile
CCLD = $(CC)
CC = gcc
CCAS = gcc -c
CC_FOR_BUILD = gcc
[root]# ./configure CC=gcc
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
[root]# ./configure --with-gmp-lib=/usr/local/lib/ CC=gcc
make
make check
====================
All 148 tests passed
====================
gcc:
[root]# ./configure
[root]# make
Makefile:27: *** GNU make version 3.80 or newer is required.. Stop.
make:
[root]# ./configure
[root]# make
[root]# make check
78 Tests Complete ... No Failures :-)
The system uptime program believes the load average to be:
uptime
2:34pm up 144 days, 1:50, 1 user, load average: 0.65, 0.41, 0.33
The GNU load average checking code thinks:
./loadavg
1-minute: 0.650000 5-minute: 0.410000 15-minute: 0.330000
=====================================================================
Regression PASSED: GNU Make 3.80 (i686-pc-linux-gnu) built with gcc
=====================================================================
gcc:
[root]# ./configure
[root]# make
[root]# make check
Completed 1 tests
Finalized 2206/2206 objects - finalization is probably ok
Total number of bytes allocated is 49827512
Final heap size is 5558272 bytes
Collector appears to work
PASS: gctest
==================
All 1 tests passed
==================
[root]# make install
make[3]: *** [sel-sched-ir.o] Error 1
make[3]: Leaving directory `/root/gcc-4.4.0/host-i686-pc-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/root/gcc-4.4.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/root/gcc-4.4.0'
make: *** [all] Error 2
0 Comments:
Post a Comment
<< Home