This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 2000-07-31 bootstrap problem
I had a problem similar to this; I hacked over it by installing a copy
of netlib fpp in place of tradcpp0, as IMHO that may be a more desirable
way to run g77 anyway. Needless to say, I appreciate the effort to make
the build work as it should.
Tim Prince
----- Original Message -----
From: "Marc Espie" <espie@quatramaran.ens.fr>
To: "Alexandre Oliva" <aoliva@redhat.com>
Cc: "Zack Weinberg" <zack@wolery.cumb.org>; <gcc-bugs@gcc.gnu.org>
Sent: Tuesday, August 01, 2000 7:03 AM
Subject: Re: gcc 2000-07-31 bootstrap problem
> On Tue, Aug 01, 2000 at 10:28:32AM -0300, Alexandre Oliva wrote:
> > On Aug 1, 2000, Marc Espie <espie@quatramaran.ens.fr> wrote:
> >
> > > CXX="c++ -v -B/var/www/work/lang/egcs/snapshot/build-i386/gcc/ ...
> > ^^^
> > This is wrong. Any idea why you've got CXX set to c++ instead of
> > CXX_FOR_TARGET? Is CXX_FOR_TARGET set in your environment?
>
> It probably got expanded somewhere or something ?
>
> Looking in build/Makefile, I find
> CXX_FOR_TARGET= $(CXX) $(FLAGS_FOR_TARGET)
>
> which does not look fun, especially considering that
> GCC_FOR_TARGET= $$r/gcc/xgcc $(FLAGS_FOR_TARGET)
> two lines down.
>
> Looking more closely, it looks like a problem with --enable-languages
> no longer being equivalent to ${LANGUAGES}
>
> Found it :)
> echo ",${enable_languages-${LANGUAGES-c++}}," |
> grep ',c[+][+],' > /dev/null ; then
>
> won't work when LANGUAGES is a list with more than one element...
>
> grep '[, ]c[+][+][, ]'
> ought to work better...