corep option, compiling the compiler

L.S., I am trying to run Dr Haskell, using the YHC binary I downloaded (http://www.cs.york.ac.uk/fp/yhc/snapshot/yhc-latest.zip) but I get the message that the corep option is not valid. According to http://yhc06.blogspot.com/2006/09/yhccore-api-available.html this option should exist, but it is not listed with command yhc -? (By the way, the help info uses "yhcc" instead of "yhc".) Another problem is, that I cannot get the compiler compiled at my Windows XP system (I am using GHC 6.4, so I can use wxHaskell, and Darcs 1.0.3) After running Makefile.bat all I get the messages: Dependancy found (ghc) Dependancy found (darcs) Copying patch 37 of 37... done! Applying patches to the "working" directory... darcs: failed to read patch in get_extra: Thu Apr 22 18:39:38 West-Europa (zomertijd) 2004 malcolm * [cpphs @ 2004-04-22 16:39:38 by malcolm] Initial revision Perhaps this is a 'partial' repository? Failed to darcs get cpphs Can you help me get things working? -- Met vriendelijke groet, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ -- Using Opera's revolutionary e-mail client: https://secure.bmtmicro.com/opera/buy-opera.html?AID=789433

Hi Henk,
According to http://yhc06.blogspot.com/2006/09/yhccore-api-available.html this option should exist, but it is not listed with command yhc -?
The option got renamed to -core in the last week, as part of the ongoing Core cleanup effort.
(By the way, the help info uses "yhcc" instead of "yhc".)
How did you obtain Yhc? From what date? I've just checked and yhcc is no longer anywhere in the source tree, so shouldn't be displayed that way.
Another problem is, that I cannot get the compiler compiled at my Windows XP system (I am using GHC 6.4, so I can use wxHaskell, and Darcs 1.0.3)
After running Makefile.bat all I get the messages:
The makefile.bat is no longer the correct way to compile on Windows, now all systems use the Scons make system - http://haskell.org/haskellwiki/Yhc/Building. You might also want to check that you are using the haskell.org repo, not the york.ac.uk one. Sorry about this, quite a few things have changed quite recently and none of the documentation is quite up to date yet!
Can you help me get things working?
Hopefully with the new information, you should be able to build Yhc. Unfortunately Dr Haskell won't work with Yhc any more - the changes to the Core language will have broken it. However, I plan to fix this up, and given that there is demand will hopefully fix Dr Haskell on Monday. Thanks Neil

Hi
I am trying to run Dr Haskell, using the YHC binary I downloaded (http://www.cs.york.ac.uk/fp/yhc/snapshot/yhc-latest.zip) but I get the message that the corep option is not valid.
I have just put out a new windows binary snapshot (http://www.cs.york.ac.uk/fp/release/drhaskell-08-nov-2006.zip), I also suggest you upgrade to a new Yhc snapshot. Together they should work fine.
Another problem is, that I cannot get the compiler compiled at my Windows XP system (I am using GHC 6.4, so I can use wxHaskell, and Darcs 1.0.3)
darcs get http://darcs.haskell.org/yhc --partial scons That should work for you, or give you appropriate error messages. Using a modern snapshot though should get Dr Haskell working fine anyway. Thanks Neil
participants (2)
-
Henk-Jan van Tuyl
-
Neil Mitchell