[Yhc] Config error..PreludeBuiltin...is this still in the build?

Alexis Morris akmorris at gmail.com
Wed Aug 22 00:12:00 EDT 2007


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/yhc/attachments/20070822/0385d709/attachment.htm


More information about the Yhc mailing list