X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=utils%2Fext-core%2FREADME;h=6a0dc137c506e77a9a7d95105c40c9f4945bea10;hp=84f213d7953334456d8a540cca11284f2a108d0a;hb=b84b5969798530dbf5be9b8bb795b77e5dfbf042;hpb=70f16d3fb8f21fbd198151d59c4ab29023dd9fda diff --git a/utils/ext-core/README b/utils/ext-core/README index 84f213d..6a0dc13 100644 --- a/utils/ext-core/README +++ b/utils/ext-core/README @@ -54,11 +54,20 @@ running "make" under libraries/. Then you need to edit Driver.hs and change "baseDir" to point to your GHC libraries directory. -Once you've done that: -1. make prims (to generate the primops file) -2. make -3. make nofibtest (to run the parser/checker on all nofib programs... +Once you've done that, the ext-core library can be built in the usual +Cabal manner: +1. runhaskell Setup.lhs configure +2. runhaskell Setup.lhs build +3. runhaskell Setup.lhs install + +Then, you can build the example Driver program with: + ghc -package extcore Driver.hs -o Driver + +And finally, you can use the included Makefile to run tests: + + make nofibtest (to run the parser/checker on all nofib programs... for example.) + make libtest (to typecheck all the libraries) Tested with GHC 6.8.2. I make no claims of portability.