This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Hint about using Bash when configuring on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 03 Mar 2004 23:56:09 -0500
- Subject: Hint about using Bash when configuring on AIX
This patch updates the documentation to mention using Bash to
speed up configuring GCC.
David
* doc/install.texi (*-ibm-aix*): Document use of Bash to speed up
configuration.
Index: install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.268
diff -c -p -r1.268 install.texi
*** install.texi 2 Mar 2004 15:16:47 -0000 1.268
--- install.texi 4 Mar 2004 04:47:46 -0000
*************** Support for AIX version 3 and older was
*** 2875,2880 ****
--- 2875,2892 ----
AIX Make frequently has problems with GCC makefiles. GNU Make 3.79.1 or
newer is recommended to build on this platform.
+ To speed up the configuration phases of bootstrapping and installing GCC,
+ one may use GNU Bash instead of AIX @command{/bin/sh}, e.g.,
+
+ @smallexample
+ % CONFIG_SHELL=/opt/freeware/bin/bash
+ % export CONFIG_SHELL
+ @end smallexample
+
+ and then proceed as described in @uref{build.html,,the build instructions},
+ where we strongly recommend using GNU make and specifying an absolute path
+ to invoke @var{srcdir}/configure.
+
Errors involving @code{alloca} when building GCC generally are due
to an incorrect definition of @code{CC} in the Makefile or mixing files
compiled with the native C compiler and GCC@. During the stage1 phase of