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