Re: postdeps empty on OpenBSD

2005-09-21 Thread Ralf Wildenhues
Hi Olly, Brad, [ quoting generously for the benefit of Brad; this thread is also at http://lists.gnu.org/archive/html/libtool/2005-09/msg00070.html ] * Olly Betts wrote on Tue, Sep 20, 2005 at 08:08:40PM CEST: > I'm trying to link C++ code into a shared object for use as a Python > module. I'm u

Re: postdeps empty on OpenBSD

2005-09-21 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: | | Probably libtool needs to be adjusted (on OpenBSD, | output_verbose_link_cmd is set to `echo' in the C++ case). | | Brad, you changed this with this patch: | http://lists.gnu.org/archive/html/libtool-patches/2004-07/msg0

Re: postdeps empty on OpenBSD

2005-09-21 Thread Ralf Wildenhues
* Peter O'Gorman wrote on Wed, Sep 21, 2005 at 11:31:58AM CEST: > Ralf Wildenhues wrote: > | > | Probably libtool needs to be adjusted (on OpenBSD, > | output_verbose_link_cmd is set to `echo' in the C++ case). > | > | Brad, you changed this with this patch: > | http://lists.gnu.org/archive/html/li

Re: postdeps empty on OpenBSD

2005-09-21 Thread Olly Betts
On 2005-09-21, Peter O'Gorman <[EMAIL PROTECTED]> wrote: > IIRC, archive_cmds on openbsd does not use -nostdlib, so having empty > postdeps ought to be okay. It looks like the problem is that "g++ -shared" doesn't link to libstdc++. Here's the output from my original message (except wrapped for yo

Re: postdeps empty on OpenBSD

2005-09-21 Thread Olly Betts
On Wed, Sep 21, 2005 at 05:05:53PM +0200, Ralf Wildenhues wrote: > Olly, can you show us the libtool link line that fails, plus the output > it generates (you can probably cut off after the first ten or so > errors to keep size down). The libtool link doesn't fail. The failure comes when Python t

Re: postdeps empty on OpenBSD

2005-09-21 Thread Brad
On Wed, Sep 21, 2005 at 05:05:53PM +0200, Ralf Wildenhues wrote: > * Peter O'Gorman wrote on Wed, Sep 21, 2005 at 11:31:58AM CEST: > > Ralf Wildenhues wrote: > > | > > | Probably libtool needs to be adjusted (on OpenBSD, > > | output_verbose_link_cmd is set to `echo' in the C++ case). > > | > > | B

Re: postdeps empty on OpenBSD

2005-09-21 Thread Thorsten Glaser
Olly Betts dixit: >On 2005-09-21, Peter O'Gorman <[EMAIL PROTECTED]> wrote: >> IIRC, archive_cmds on openbsd does not use -nostdlib, so having empty >> postdeps ought to be okay. > >It looks like the problem is that "g++ -shared" doesn't link to libstdc++. gcc -shared creates a shared library. O

Re: postdeps empty on OpenBSD

2005-09-21 Thread Ralf Wildenhues
Hi Thorsten, * Thorsten Glaser wrote on Wed, Sep 21, 2005 at 10:05:53PM CEST: > Olly Betts dixit: > >On 2005-09-21, Peter O'Gorman <[EMAIL PROTECTED]> wrote: > >> IIRC, archive_cmds on openbsd does not use -nostdlib, so having empty > >> postdeps ought to be okay. > > > >It looks like the problem

Re: postdeps empty on OpenBSD

2005-09-21 Thread Olly Betts
On Wed, Sep 21, 2005 at 10:45:40PM +0200, Ralf Wildenhues wrote: > * Thorsten Glaser wrote on Wed, Sep 21, 2005 at 10:05:53PM CEST: > > Olly Betts dixit: > > >It looks like the problem is that "g++ -shared" doesn't link to libstdc++. > > > > gcc -shared creates a shared library. > > > > On OpenBS

Re: postdeps empty on OpenBSD

2005-09-21 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thorsten Glaser wrote: | gcc -shared creates a shared library. | | On OpenBSD, shared libraries do not link against other shared libraries. | The main programme must link against all these. Is there a reason for this? Peter -BEGIN PGP SIGNATURE-