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
-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
* 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
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
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
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
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
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
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
-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-
10 matches
Mail list logo