This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC|T] 'shared library only build' testsuite fixes
- From: Mike Stump <mrs at apple dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Nov 2005 14:03:25 -0800
- Subject: Re: [RFC|T] 'shared library only build' testsuite fixes
- References: <43692E34.3020607@pop.agri.ch>
On Nov 2, 2005, at 1:23 PM, Andreas Tobler wrote:
the below patch makes sure that we pick up the right runtime lib
when running the testsuite on a shared only build (--disable-static).
I appreciate comments and corrections.
Darwin might need (from man ld):
-search_paths_first
By default when the -dynamic flag is in effect,
the -lx and
-weak-lx options first search for a file of
the form
`libx.dylib' in each directory in the library search
path, then
a file of the form `libx.a' is searched for in
the library
search paths. This option changes it so that in
each path
`libx.dylib' is searched for then `libx.a' before the
next path
in the library search path is searched.
to be perfect, but I say that just for completeness, I don't expect
you to fix that.
I do wonder if you have any multilib testing on it? The installed
multilib is supposed to work, so a test that uses the install area
should tend to work, if you break it, that would be a regression.
The objc/objc++ parts are Ok if multilibbing works, or is no worse
than the status quo.