Hmm that's very curious there is no way any code you write should be
pulling in PreludeBuiltin only the Prelude imports it IIRC.
What's the contents of hello.hs?
Tom
Alexis Morris wrote:
Hi all,
I just built a fresh yhc/yhi (after only adding one line to
Primitive.hs) and everything seemed fine. I then copied my inst folder
to c:\yhcinstall\. When I run "yhc hello.hs" however I get the following:
$ yhc hello.hs
Error: File not found, PreludeBuiltin
Reason: imported from Prelude
Looked in:
c:\Documents and Settings\Alexis\Desktop\2007\NXHaskell\current\BCKernel\
c:\yhcinstall\lib\yhc\packages\haskell98\1.0
c:\yhcinstall\lib\yhc\packages\yhc-base\1.0
I'm not sure if this is a bug in the config or is caused by copying. I
do have a PreludeBuiltin in my
C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi
<file:///C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi>
I'll see if copying it over helps....nope...copying it seems to cause
yhc loop until stack overflow.
$ yhc hello.hs
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize' to increase it.
Cheers,
--
</Alexis>
------------------------------------------------------------------------
_______________________________________________
Yhc mailing list
Yhc@haskell.org
http://www.haskell.org/mailman/listinfo/yhc
_______________________________________________
Yhc mailing list
Yhc@haskell.org
http://www.haskell.org/mailman/listinfo/yhc