This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95.1 on AIX 4.1.5
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: gcc-2.95.1 on AIX 4.1.5
- From: Stefan Schwarzer <sts at ica1 dot uni-stuttgart dot de>
- Date: Thu, 14 Oct 1999 14:05:34 +0200 (MET DST)
I needed to install gcc-2.95.1 in an aix 4.1.5 environment.
Beyond the documented patches necessary to get big symbol tables
working, the following changes are required to get the distribution
to compile. Could these be forwarded to sb. to be
incorporated into the AIX section in the SPECIFICS file in the
install directory?
1. One must pass the option -bbigtoc to the linker
Not knowing an alternative, I put them into the top
level Makefile 'by hand':
# These flag values are normally overridden by the configure script.
CFLAGS = -g -O2 -Xlinker -bbigtoc
CXXFLAGS = -g -O2 -Xlinker -bbigtoc
and
LD = ld -bbigtoc
2. Furthermore, the systems 'sh' seems to die with 'Memory fault' in a
script that is invoked when the library is build (see the attached
output). I needed to replace sh in the Makefile by a compatible
working shell.
SHELL = /usr/local/bin/bash
Otherwise, congratulations to this fine compiler!
--
Stefan Schwarzer office: +49-(0)711-685-7606 fax: x-3658
Uni Stuttgart, ICA 1 (?-
Pfaffenwaldring 27 //\ sts@ica1.uni-stuttgart.de
70569 Stuttgart, Germany -V_/---- http://www.ica1.uni-stuttgart.de/~sts
/bin/sh ../../../gcc-2.95.1/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h
xgcc: -bbigtoc: linker input file unused since linking not done
../../../gcc-2.95.1/libio/gen-params[303]: 18154 Memory fault(coredump)
../../../gcc-2.95.1/libio/gen-params[303]: 18170 Memory fault(coredump)
../../../gcc-2.95.1/libio/gen-params[303]: 17926 Memory fault(coredump)
../../../gcc-2.95.1/libio/gen-params[303]: 17932 Memory fault(coredump)
mv tmp-params.h _G_config.h
test x"no" != xyes ||\
/data/data1/tmp/sts/build/gcc/xgcc -B/data/data1/tmp/sts/build/gcc/ -B/local/gcc-2.95.1/powerpc-ibm-aix4.1.5.0/bin/ -c -g -O2 -Xlinker -bbigtoc -I. -I../../../gcc-2.95.1/libio ../../../gcc-2.95.1/libio/filedoalloc.c -o pic/filedoalloc.o
/data/data1/tmp/sts/build/gcc/xgcc -B/data/data1/tmp/sts/build/gcc/ -B/local/gcc-2.95.1/powerpc-ibm-aix4.1.5.0/bin/ -c -g -O2 -Xlinker -bbigtoc -I. -I../../../gcc-2.95.1/libio ../../../gcc-2.95.1/libio/filedoalloc.c
xgcc: -bbigtoc: linker input file unused since linking not done
test x"no" != xyes ||\