Re: [PATCH] Fix gcc-{ar,nm,ranlib} (PR plugins/53126)

2012-05-03 Thread Richard Guenther
On Thu, May 3, 2012 at 12:49 PM, Jakub Jelinek wrote: > Hi! > > What gcc-ar does to find the plugin is significantly different from > what gcc driver does.  This patch makes it behave tiny bit closer to > what the driver does, in particular if GCC_EXEC_PREFIX isn't defined > in the environment, it

[PATCH] Fix gcc-{ar,nm,ranlib} (PR plugins/53126)

2012-05-03 Thread Jakub Jelinek
Hi! What gcc-ar does to find the plugin is significantly different from what gcc driver does. This patch makes it behave tiny bit closer to what the driver does, in particular if GCC_EXEC_PREFIX isn't defined in the environment, it will use standard_libexec_prefix if gcc-{ar,nm,ranlib} program li