[Bug plugins/53126] gcc-4.7.0 error "gcc-ar: Cannot find plugin"
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 3 11:09:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53126
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-03 11:09:12 UTC ---
Author: jakub
Date: Thu May 3 11:09:07 2012
New Revision: 187090
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187090
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:
trunk/gcc/ChangeLog
trunk/gcc/gcc-ar.c
More information about the Gcc-bugs
mailing list