This is the mail archive of the gcc-patches@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]

Re: [PATCH] gcc configure's determination of ld and as


Alan Modra wrote:
Today, I found to my dismay that using --with-ld=path_to_ld when
configuring gcc leads to a compiler that effectively ignores -B paths
when searching for ld.  This meant that binutils "make check" on my
powerpc64-linux box has been testing an installed linker for some of the
ld tests, rather than the newly built one.  So I've missed seeing ld
regressions.

I really like the idea of this patch; it's great to avoid these kinds of inconsistencies. However, rummaging through target .h files is a little scary. What about moving MD_EXEC_PREFIX into the config.gcc file, as a variable to be set there? Then it would be available to configure with no rummaging.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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