gen-classlist.sh problem while building gcc 4.2.4
David Eisner
deisner@gmail.com
Wed Aug 6 17:34:00 GMT 2008
On Sat, Aug 2, 2008 at 8:29 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> This is <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25557>.
> If this isn't a regression (which I'm not sure of), then I guess this
> bug won't be fixed in the branch.
Thanks for finding that. I had created a new bug
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37000), and I've now
marked it a duplicate.
It was recommended that I set CONFIG_SHELL to /bin/ksh, as recommended
in the build notes for Solaris, and that did the trick for me:
http://gcc.gnu.org/install/specific.html#x-x-solaris2
I should have noticed that before.
>> By the way, I'm not sure why it's even building java. I didn't
>> include java in the enabled languages when I ran configure. I guess
>> it knows best.
>
> Try passing --enable-languages explicitly.
I did. Here's how i called configure:
CC="cc -xarch=v9 -xildoff" ../gcc-4.2.4/configure \
--prefix=/data/software/devtools/gcc-4.3.1-sparc-sun-solaris2.9 \
--enable-langues=c,c++,objc \
--with-gmp=/data/software/devtools/gmp-4.2.1-sparc-sun-solaris2.9 \
--with-mpfr=/data/software/devtools/mpfr-2.3.0-sparc-sun-solaris2.9
Strangely, though, when I look at config.status, I see this:
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host cannes.umd.edu:
#
# ../gcc-4.2.4/configure
--prefix=/data/software/devtools/gcc-4.3.1-sparc-sun-solaris2.9
--enable-langues=c,c++,objc
--with-gmp=/data/software/devtools/gmp-4.2.1-sparc-sun-solaris2.9
--with-mpfr=/data/software/devtools/mpfr-2.3.0-sparc-sun-solaris2.9
--enable-languages=c,c++,java,objc
#
I don't know why the extra --enable-languages switch was appended, and
this time with java included.
-David
--
David Eisner http://cradle.brokenglass.com
More information about the Gcc-help
mailing list