RE: idea for mixed import/static libraries and linking with DLLs

2003-03-18 Thread Hannu E K Nevalainen (garbage mail)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Joe Buehler --8<-- > Further, since all code is position-independent, you can easily > make a shared library from any .o file. Out of curiosity: Is that code also reentrant? One of the larger benefits w shared libs relies on this. /H

Re: idea for mixed import/static libraries and linking with DLLs

2003-03-18 Thread Jerry Heyman
On Tue, 18 Mar 2003 11:17:49 -0500, Joe Buehler <[EMAIL PROTECTED]> wrote: > > Christoper Faylor wrote: > > > Apologies if this approach has already been mentioned. I thought > > it was kinda neat. > > AIX has something interesting. All libraries are ar libs. You can > have shared objects in th

RE: idea for mixed import/static libraries and linking with DLLs

2003-03-18 Thread Ralf Habacker
> I just realized that libc.so on linux is just a linker script and > that it is used to link both the shared and static parts of libc. > > So, in a similar vein, you could conceivably do something like this > on cygwin: > > /* GNU ld script >Use the shared library, but some functions are only

Re: idea for mixed import/static libraries and linking with DLLs

2003-03-18 Thread Joe Buehler
Christopher Faylor wrote: Apologies if this approach has already been mentioned. I thought it was kinda neat. AIX has something interesting. All libraries are ar libs. You can have shared objects in them, or plain .o files, or a mixture of both. The same library can be used for dynamic or stati

idea for mixed import/static libraries and linking with DLLs

2003-03-17 Thread Christopher Faylor
I just realized that libc.so on linux is just a linker script and that it is used to link both the shared and static parts of libc. So, in a similar vein, you could conceivably do something like this on cygwin: /* GNU ld script Use the shared library, but some functions are only in the stat