This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug plugins/53126] gcc-4.7.0 error "gcc-ar: Cannot find plugin"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]