There was an error in my previous posting.
The generation of binding names doesn't seem to work correctly. I have
generated Core for Base.lhs by standing in the
.../ghc-5.05.20030119/libraries/base directory and giving the command:
../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude
-#include HsBase.h -funbox-strict-fields -package-name base -O
-Rghc-timing -split-objs -O0 -c GHC/Base.lhs -o GHC/Base.o -ohi
GHC/Base.hi
I did of course also give the flag -fext-core, the correct command
should be:
../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude
-#include HsBase.h -funbox-strict-fields -package-name base -O
-Rghc-timing -split-objs -O0 -fext-core -c GHC/Base.lhs -o
GHC/Base.o -ohi GHC/Base.hi
I apologize for the error
//Tobias
|