This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] Add gcc-ar, gcc-ranlib, gcc-ld wrappers v2
On Sat, Oct 30, 2010 at 08:32:21AM +0200, Ralf Wildenhues wrote:
> * Paolo Bonzini wrote on Fri, Oct 29, 2010 at 10:22:50PM CEST:
> > >>exec $AR --plugin `$BINDIR/gcc -print-lto-plugin` "$@"
> >
> > quotes around $BINDIR, as Ralf suggested, but also around the
> > backticks and $AR. For portability that needs to be
> >
> > LTOPLUGIN=`"$BINDIR"/gcc -print-lto-plugin`
> > exec "$AR" --plugin "$LTOPLUGIN" "$@"
>
> JFTR: can $AR be 'ar -X32_64' (on AIX) at this point?
Does AIX support binutils and LTO? This all only works with GNU binutils
and LTO support anyways.
Anyways my trend is to go to shelve the patch (or rather keep
the wrappers as a separate package) because the reception has been too
negative. I guess it won't be too difficult to download it separately
for people who need it.
-Andi