http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53126
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-03 11:09:51 UTC --- Author: jakub Date: Thu May 3 11:09:46 2012 New Revision: 187091 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187091 Log: PR plugins/53126 * gcc-ar.c (main): If GCC_EXEC_PREFIX is set in env, append program name to it and pass that as first argument to make_relative_prefix. Always pass standard_libexec_prefix as last argument to make_relative_prefix. If make_relative_prefix returns NULL, fall back to standard_libexec_prefix. Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/gcc-ar.c