This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded???
- From: "Spencer Marshall" <gdsmarshall at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 19 Apr 2002 08:17:32 +0000
- Subject: configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded???
- Bcc:
HELP....
I am having problems making a gcc cross compiler, I get the error below
I have the following in /export/dalmany/gdsm
gcc-2.96-20000731
newlib-1.8.1
binutils-2.11.90.0.8
I have created the directory /export/dalmany/gdsm/src and in it created the
following links
bfd -> ../binutils-2.11.90.0.8/bfd
binutils -> ../binutils-2.11.90.0.8/binutils
config -> ../binutils-2.11.90.0.8/config
config.guess -> ../gcc-2.96-20000731/config.guess
config.if -> ../gcc-2.96-20000731/config.if
config.sub -> ../gcc-2.96-20000731/config.sub
configure -> ../gcc-2.96-20000731/configure
configure.in -> ../gcc-2.96-20000731/configure.in
gas -> ../binutils-2.11.90.0.8/gas
gcc -> ../gcc-2.96-20000731/gcc
include -> ../binutils-2.11.90.0.8/include
ld -> ../binutils-2.11.90.0.8/ld
libgloss -> ../newlib-1.8.1/libgloss
libiberty -> ../binutils-2.11.90.0.8/libiberty
Makefile.in -> ../gcc-2.96-20000731/Makefile.in
move-if-change -> ../gcc-2.96-20000731/move-if-change
newlib -> ../newlib-1.8.1/newlib
opcodes -> ../binutils-2.11.90.0.8/opcodes
texinfo -> ../binutils-2.11.90.0.8/texinfo
I then did the following
cd /export/dalmany/gdsm/build
host=i386-redhat-linux
target=sparc-sun-solaris2
prefix=/sun
i=$prefix/bin
../src/configure --target=$target --prefix=$prefix --verbose
make all install
which gave me this....
<snip>
make[3]: Leaving directory `/export/dalmany/gdsm/build/ld'
make[2]: Leaving directory `/export/dalmany/gdsm/build/ld'
make[1]: Leaving directory `/export/dalmany/gdsm/build/ld'
make[1]: Entering directory `/export/dalmany/gdsm/build/gcc'
cd ../../src/gcc && autoheader
configure.in:420: m4: ERROR: Recursion limit of 1024 exceeded, use -L<N> to
change it
autoconf: tracing failed
make[1]: *** [../../src/gcc/cstamp-h.in] Error 1
make[1]: Leaving directory `/export/dalmany/gdsm/build/gcc'
make: *** [all-gcc] Error 2
Please can anyone help
Sytem information before building
uname
Linux mckinley 2.4.17 #21 Fri Apr 5 07:55:03 BST 2002 i686 unknown
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
Many thanks,
Spencer
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.