On Thu, 2009-05-14 at 09:58 +0100, Simon Peyton-Jones wrote: > Duncan > > It sounds good to me (although I am not a well-informed witness). > > Can I urge you to transfer (and edited version of) your email into the > Commentary, so that others can find out how things work?
Yes, though I should probably wait until the patches go in, so that I'm documenting reality :-). > You and I also discussed (at FITA) the desirability of writing an > overview of how dynamic linking in GHC works, including > - links to good descriptions of the base OS arrangements (eg > windows dlls, Unix sos) > - a description of how we use this stuff in GHC (eg pic > code, -dynamic, etc) > Linking is much more complicated than it seems! I've made a start. I've got a new start page for shared libs and moved the existing related pages to sub-pages: http://hackage.haskell.org/trac/ghc/wiki/SharedLibraries So we've got: * SharedLibraries: intro * SharedLibraries/Management: how we organise and manage shared libs * SharedLibraries/PlatformSupport: status of shared lib support on various platforms (and TODOs) * Commentary/PositionIndependentCode: how ghc -fPIC works There's plenty more to explain in the intro and some of the status info in the sub-pages needs bringing more up to date. Duncan _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
