| How do we tell ghc to link our .o files with the transitive 
| closure of a root set of .o files from the compiler implementation? 

I'm not sure there's any easy (automated) way to do that.  Why not
just link your .o files with _all_ the .o files from the compiler
implementation, and assume that the linker will discard any .o files
not reachable from main().  That's a reasonable assumption for
Unix linkers nowadays.

J

Reply via email to