Bruce Momjian writes:

> I have applied the following patch for OpenBSD and FreeBSD.  They have
> the same -Bsymbolic handling and same use of LD for linking.  I made the
> duplicate changes Peter made for BSDI.

Hmm, at least on OpenBSD the recommended way to build shared libraries is
using 'ld' directly.  But using gcc should work as well.

> Can anyone commend on the use of 'ld -x' to delete all local symbols?
> FreeBSD and OpenBSD have it, while BSD/OS does not.  I added it to BSDi,
> and it seems to work fine.

I don't think it should be used.

> Actually, it seems NetBSD already had all these fixes.

On NetBSD, there are about 4 different ways of build shared libraries,
depending on version and platform.  Nothing I wanna mess with.

-- 
Peter Eisentraut      [EMAIL PROTECTED]       http://yi.org/peter-e/

Reply via email to