Re: [PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-12-01 Thread Arnaud Charlet
> > when you have lots of cross-compilers around. > > If LANG_MAKEFRAGS would be limited only to the chosen languages, > > this would suddenly not work at all. > > http://gcc.gnu.org/ml/gcc-patches/2006-01/msg02100.html > is the change that went into 4.2. OK well, maybe the above patch is partly

Re: [PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-12-01 Thread Jakub Jelinek
On Thu, Dec 01, 2011 at 09:55:04AM +0100, Jakub Jelinek wrote: > I believe because we want > cd obj/gcc > make f951 > work even when --enable-languages=c,c++ , it is quite handy > not having to reconfigure gcc because you forgot one language, especially > when you have lots of cross-compilers aroun

Re: [PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-12-01 Thread Jakub Jelinek
On Thu, Dec 01, 2011 at 09:50:15AM +0100, Arnaud Charlet wrote: > > As written in the PR, even if you on say x86_64-linux > > ../configure --enable-languages=c --target=i686-pc-linux-gnu > > you end up with: > > CONFIG_LANGUAGES = c++ lto > > LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) $(CONFIG

Re: [PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-12-01 Thread Arnaud Charlet
> As written in the PR, even if you on say x86_64-linux > ../configure --enable-languages=c --target=i686-pc-linux-gnu > you end up with: > CONFIG_LANGUAGES = c++ lto > LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) $(CONFIG_LANGUAGES) > ... > LANG_MAKEFRAGS = $(srcdir)/ada/gcc-interface/Make-lan

Re: [PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-12-01 Thread Jakub Jelinek
On Thu, Dec 01, 2011 at 09:08:27AM +0100, Arnaud Charlet wrote: > > := assigned variable gets evaluated right away, including the case when > > host doesn't have any Ada compiler installed. In that case we remove ada > > from enabled languages, but still RTS_DIR is sometimes computed. > > Can you

Re: [PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-12-01 Thread Arnaud Charlet
> := assigned variable gets evaluated right away, including the case when > host doesn't have any Ada compiler installed. In that case we remove ada > from enabled languages, but still RTS_DIR is sometimes computed. Can you elaborate here? When is RTS_DIR computed if Ada is not enabled? That seem

[PATCH] Avoid messages about non-existent gnatls command (PR bootstrap/51201)

2011-11-30 Thread Jakub Jelinek
Hi! := assigned variable gets evaluated right away, including the case when host doesn't have any Ada compiler installed. In that case we remove ada from enabled languages, but still RTS_DIR is sometimes computed. With this patch we could call gnatls 4 times (or even 6 times) instead of just onc