This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris cleanup patches
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, dan at codesourcery dot com
- Date: Sun, 14 Nov 2004 13:02:22 -0800
- Subject: Re: Solaris cleanup patches
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.61.0411141944200.32098@digraph.polyomino.org.uk>
Joseph S. Myers wrote:
These four patches are minor cleanups to Solaris support from
csl-sol210-branch in preparation for merging the actual AMD64 Solaris
10 port.
I hope that the Solaris maintainers will review these patches, and
decide whether or not they are appropriate at this point. I don't think
it would be appropriate for me to review them, but as I've delegated
responsibility for making those kinds of judgements at this point.
1. When building multilibs with Solaris linker, put links to shared
libraries within the multilib directory.
To be clear, this is not particularly to help the Solaris linker. The
issue is that other patches on the branch, at Sun's request, keep the
compiler from searching quite so many directories for libraries. In
particular, I think we do not search 32-bit directories for 64-bit
libraries, and vice versa. That runs into problems with the base "gcc"
directory -- but of course we've put the libraries in the right multilib
subdirs anyhow; we just need to put the links there so that we find the
links in those directories.
I think this change is actually a good cleanup, in that "libgcc.so"
links should probably go in the same build subdirectory as the linked to
files.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com