This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: EGCS 1.1.2 on AIX 4.2
- To: "Vasudeva Upadhya" <kvu at cfdrc dot com>
- Subject: Re: EGCS 1.1.2 on AIX 4.2
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 09 Aug 2000 18:24:41 -0400
- cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-bugs at gcc dot gnu dot org
First, I strongly recommend that you use the current release of
GCC (gcc-2.95.2) on AIX instead of the outdated egcs-1.1.2.
Second, if you build GCC for any platform bootstrapping from any
compiler other than GCC, you *MUST* invoke that native compiler as "cc"
(no other name, no full path). Anything else will cause the alloca type
of error that you reported because the GCC build procedure assumes that a
compiler not called "cc" is GCC. The bad advice that you received to use
"-ma" for alloca only makes matters worse as that alloca implementation
causes other problems for GCC (as you discovered).
Information about buildin GCC on AIX, including comments about
alloca errors, is in the AIX-specific install information for GCC on the
GCC website at http://gcc.gnu.org/install/specific.html under
"*-ibm-aix*".
David
===============================================================================
David Edelsohn T.J. Watson Research Center
dje@watson.ibm.com P.O. Box 218
+1 914 945 4364 (TL 862) Yorktown Heights, NY 10598