Subject: Re: Shared libraries
To: John Birrell <cimaxp1!jb@WERPLE.net.AU>
From: None <Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU>
List: port-alpha
Date: 01/10/1996 02:47:15
> What's required to get shared libraries to work for NetBSD/Alpha?

Four easy steps:

Figure out how they should work (the answer is almost certainly "like
other NetBSD shared libraries), and how to make them work that way.

Modify the NetBSD run-time linker to support them, or write a run-time
linker to support them.

remove the "NOPIC=" (i think it is) from whichever file in
/usr/share/mk that defines it for the alpha.

recompile.


OK, i lied.  the first two are really hard.  And, I don't really
consider OSF/1-style shared libs acceptable...  NetBSD uses a shared
library style that works very well, and unless it's completely
inappropriate and a strong case is presented that proves that, the
same style should be used on NetBSD/Alpha.

It may very well be easier to, say, convert the NetBSD/Alpha
executable format to a.out, then do this, than to try to do it with
ECOFF.


chris