This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: objc testsuite patch
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: objc testsuite patch
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 02 Aug 2000 22:35:38 -0300
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200008022223.PAA13147@localhost.cygnus.com>
On Aug 2, 2000, Geoff Keating <geoffk@cygnus.com> wrote:
> + * lib/objc.exp (objc_target_compile): Look for libobjc.a in
> + libobjc/.libs to allow for libtool.
Libtool may also use _libs instead of .libs on platforms that don't
supposed `.libs' as a valid directory name. Is it worth accounting
for?
Also, if someone configures libobjc with --disable-static, there will
only be a shared libobjc library.
The fully correct way to do this is to look for
libobjc/[._]libs/libobjc.la then pick the definition of `old_library'
in it, which will be a relative pathname. But I'd go with
libobjc/[._]libs/libobjc.a for now. In fact, I'm not even sure we
should care about _libs; I don't recall having seen it used on any
platform. Maybe DOS+DJGPP?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me