> 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?
This is what libraries were invented for :-) You need to make a libGHC.a,
like this:
$ ar qa libGHC.a coreSyn/CoreSyn.o basicTypes/Id.o ...
(include all the object files in GHC)
then link in libGHC.a in your main project.
> Thanks for any advice on this problem.
you're welcome!
Simon
- How to build a Makefile that interacts with Co... Franklyn A. Turbak
- RE: How to build a Makefile that interact... Julian Seward (Intl Vendor)
- RE: How to build a Makefile that interact... Simon Marlow
- RE: How to build a Makefile that interact... Kate S. Golder
- RE: How to build a Makefile that interact... Simon Marlow
