https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43301

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> (In reply to Ryan Johnson from comment #0)
> > ./configure ... --with-build-time-tools=$MY_TOOLS ignores $MY_TOOLS (though
> > it correctly warns when $MY_TOOLS is not an absolute path).
> > 
> > Let's just say this led to extremely frustrating behavior until I decided to
> > start digging...
> > 
> > Suggested patch to correct the problem:
> > 
> > Index: /home/Ryan/apps/gcc-4.5-src/configure.ac
> > ===================================================================
> > --- /home/Ryan/apps/gcc-4.5-src/configure.ac    (revision 157227)
> > +++ /home/Ryan/apps/gcc-4.5-src/configure.ac    (working copy)
> > @@ -3221,7 +3221,9 @@
> >    [  --with-build-time-tools=PATH
> >                            use given path to find target tools during the
> > build],
> >    [case x"$withval" in
> > -     x/*) ;;
> > +     x/*)
> > +       with_build_time_tools=$withval
> > +       ;;
> >       *)
> >         with_build_time_tools=
> >         AC_MSG_WARN([argument to --with-build-time-tools must be an absolute
> > path])
> 
> Confirming that GCC's configure.ac is still unpatched.

Patches go to the gcc-patches mailing list if you still want to see this fixed

Reply via email to