Mail Archives: djgpp/1994/11/14/14:16:27
On Sun, 13 Nov 1994, Aaron Ucko wrote:
> My understanding of the situation is that the only thing keeping DJGPP
> from normally using shared libraries is global variables accessed by
> both the libraries and your program. Couldn't this be remedied by
> adding some sort of hook to the startup code to automatically export any
> desired global variables? Or is the only legal startup code to be found
> in (g)crt0.o? Just wondering...
>
Yes... shouldn't we be able to make an 'ld.so' (like on Sun's) that
will do this link editing at startup? It seems that it would only have
to be a small part of what 'ld' does... of course LD.EXE would need to
produce shared objects in the first place... :(
Ed
/****************************************************************************/
/* Ed Phillips flaregun AT udel DOT edu University of Delaware */
/* Jr Systems Programmer (302) 831-6082 IT/Network and Systems Services */
/****************************************************************************/
- Raw text -