This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]