build gcc 2.95.2

Cornel Murea murea@rs1.univ-fcomte.fr
Fri Jun 16 06:12:00 GMT 2000


Hallo,

I trayed to install gcc 2.95.2, g++ and g77 on a IBM RS/6000 AIX 4.2.1.
I have downloaded
gcc 2.95.2 core distribution
C++ distribution,
F77 distribution.

I have on old gcc version 2.7.0
(/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.7.0/specs)

I have unpacked the 3 archives in the the same directory
/home/rs3/murea/src/gcc-2.95.2

$ mkdir /home/rs3/murea/src/build-gcc
$ cd /home/rs3/murea/src/build-gcc
$ ../gcc-2.95.2/configure --prefix=/home/rs3/murea/src/build-gcc
$ /usr/local/bin/make bootstrap     (the GNU make)

make[1]: Entering directory `/home/rs3/murea/src/build-gcc/libiberty'
test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../gcc-2.95.2/libiberty/../include   ../../gcc-2.95.2
/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../gcc-2.95.2/libiberty/../include  ../../gcc-2.95.2/li
biberty/choose-temp.c
In file included from /usr/include/sys/file.h:37,
                 from ../../gcc-2.95.2/libiberty/choose-temp.c:38:
/usr/include/sys/lock_def.h:226: parse error before `simple_lock_try'
/usr/include/sys/lock_def.h:226: warning: data definition has no type or
storage class
/usr/include/sys/lock_def.h:234: parse error before `boolean_t'
/usr/include/sys/lock_def.h:240: parse error before `lock_read_to_write'

/usr/include/sys/lock_def.h:240: warning: data definition has no type or
storage class
/usr/include/sys/lock_def.h:244: parse error before `lock_try_write'
/usr/include/sys/lock_def.h:244: warning: data definition has no type or
storage class
/usr/include/sys/lock_def.h:245: parse error before `lock_try_read'
/usr/include/sys/lock_def.h:245: warning: data definition has no type or
storage class
/usr/include/sys/lock_def.h:246: parse error before
`lock_try_read_to_write'
/usr/include/sys/lock_def.h:246: warning: data definition has no type or
storage class
/usr/include/sys/lock_def.h:256: parse error before `lockl_mine'
/usr/include/sys/lock_def.h:256: warning: data definition has no type or
storage class
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/home/rs3/murea/src/build-gcc/libiberty'
make: *** [all-libiberty] Error 2


Please, could you help me? Thank you!

Cornel MUREA
University of Franche-Comte




More information about the Gcc-help mailing list