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: [RFC|T] 'shared library only build' testsuite fixes


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.


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