This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Gcc-3.1.1 bootstrap problems
- From: "Latchezar Dimitrov" <ldimitro at wfubmc dot edu>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 8 Aug 2002 21:10:40 -0400
- Subject: Gcc-3.1.1 bootstrap problems
Hallo,
When I tried to bootstrap GCC-3.1.1 on Sun Sparc Solaris 2.8 I got the
following error:
make[2]: Entering directory
`/home/exon/ldimitro/dl/bootstrap/sparc-sun-solaris2.8/libf2c'
rm -f config.cache
cd /home/exon/ldimitro/dl/src/libf2c && autoconf
configure.in:37: error: defn: undefined macro: _AC_PROG_CC_GNU
aclocal.m4:150: GLIBCPP_CONFIGURE is expanded from...
configure.in:37: the top level
make[2]: *** [/home/exon/ldimitro/dl/src/libf2c/configure] Error 1
make[2]: Leaving directory
`/home/exon/ldimitro/dl/bootstrap/sparc-sun-solaris2.8/libf2c'
make[1]: *** [all-target-libf2c] Error 2
make[1]: Leaving directory `/home/exon/ldimitro/dl/bootstrap'
make: *** [bootstrap] Error 2
[exon]~ldimitro/dl/bootstrap:exit exit
script done on Wed 07 Aug 2002 11:15:16 PM EDT
Here's the beginning of configure:
[exon]~ldimitro/dl/bootstrap:../src/configure
--prefix=/home/exon/ldimitro/usr/local --enable-threads=posix
--enable-long-long --disable-nls --enable-shared --with-gnu-as
--with-as=/home/exon/ldimitro/usr/local/bin/as --with-gnu-ld
--with-ld=/home/exon/ldimitro/usr/local/bin/ld
--enable-languages=c,c++,f77,java,objc
Configuring for a sparc-sun-solaris2.8 host.
Created "Makefile" in /home/exon/ldimitro/dl/bootstrap using "mh-frag"
and "mt-frag"
Configuring libiberty...
creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
...
srcdir is ~ldimitro/dl/src
objdir is ~ldimitro/dl/bootstrap
Before that I compiled/installed with gcc-2.95.3:
m4-1.4
autoconf-2.53
automake-1.6.3
texinfo-4.2
binutils-2.13 - ld and as are explicitly specified in configure above
I figured that the culprit is f77 and removed it from
--enable-languages. I got the same error for objc, removed it too, and
voila - gcc was installed, without f77 and objc though.
I have got complete scripts of the above failures and can present them
if necessary.
Any ideas/suggestions how to install f77 and objc?
Also, I postponed Ada for after having everything else fine. If I
understand it well I must d/l and put in my path gnat1, gnatbind, and
gcc/gnatgcc, right?
Thanks,
Lucho Dimitrov