This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug plugins/53126] gcc-4.7.0 error "gcc-ar: Cannot find plugin"
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 May 2012 11:09:12 +0000
- Subject: [Bug plugins/53126] gcc-4.7.0 error "gcc-ar: Cannot find plugin"
- Auto-submitted: auto-generated
- References: <bug-53126-4@http.gcc.gnu.org/bugzilla/>
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