libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 1.4.2 on Darwin


From: Benjamin Reed
Subject: Re: libtool 1.4.2 on Darwin
Date: 08 Oct 2002 18:12:13 -0400

While we're on the subject of darwin and libtool, we've been needing to
make changes to libtool to make KDE compile on darwin that haven't been
discussed in this thread.

Darwin's GCC has a number of very weird states it can get into during
the linking stage because of it's crappy ld (grin), and I don't think
many things have exercised them until we tried to get something really
big to build with libtool.

Attached is a patch with some of the fixes that have gone into the
KDE-Darwin tree.  I haven't done all of these changes myself, Dave
Vasilevsky (who has posted libtool patches previously, I think) is the
one who found most of these issues.

The libtool.m4 bit includes the fixed module test discussed here in the
last couple of days, as well as the -install_name bug, but it also fixes
some symbol issues when linking some C++ bits.  It basically has to
implement a two-pass compile to make linking happy.  The second part
(the ltmain.in bit) disables lazy linking because of C++ issues as well.

The patch is made against libtool CVS top-of-tree as of a few minutes
ago; if you have any problems with it or need changes, let me know.  It
would be great to have darwin linking properly out-of-the-box with
libtool.  =)


Attachment: libtool-darwin.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]