This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR20425, multilib paths for -print-search-dirs
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Dec 2005 17:00:52 +0000 (UTC)
- Subject: Re: Fix PR20425, multilib paths for -print-search-dirs
- References: <20051208123258.GE10488@bubble.grove.modra.org> <4398F8E2.4090002@codesourcery.com>
On Thu, 8 Dec 2005, Mark Mitchell wrote:
> I believe that we (CodeSourcery) proposed patches for Solaris that made
> the compiler search *only* the correct multilib directories (so, that,
> for example, with -m64 on AMD64, the 32-bit directories were no longer
> searched). I don't remember if these patches were ever checked in, and
> when I looked at the tree I wasn't sure, but Joseph will know, so I've
> cc'd him. Assuming that we did in fact check in this Solaris patch,
> then it seems that this patch should avoid mentioning the un-searched
> directories on systems that behave like that, since the goal is to
> really list the actual directories.
Yes, they were checked in.
------------------------------------------------------------------------
r96915 | jsm28 | 2005-03-23 01:23:51 +0000 (Wed, 23 Mar 2005) | 8 lines
2005-03-23 Mark Mitchell <mark@codesourcery.com>
* gcc.c (do_spec_1): Do not add a -L path for a directory in
the prefix list if we have already added a multilib directory
based on that path.
(main): Do not add MD_EXEC_PREFIX to the list of directories to
search with -L.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)