logo       

Re: External Core front end is completely broken: msg#00023

lang.haskell.glasgow.bugs

Subject: Re: External Core front end is completely broken

On Wed, Jul 09, 2003 at 12:08:50PM +0100, Simon Peyton-Jones wrote:
> Ah, yes. Fixed.
>
> | -----Original Message-----
> | From: glasgow-haskell-bugs-admin@xxxxxxxxxxx
> [mailto:glasgow-haskell-bugs-admin@xxxxxxxxxxx] On
> | Behalf Of Kirsten Chevalier
> | Sent: 09 July 2003 00:25
> | To: glasgow-haskell-bugs@xxxxxxxxxxx
> | Subject: External Core front end is completely broken
> |
> | Using the latest version of GHC downloaded from CVS, it's impossible
> to use
> | GHC to compile any .hcr files that it generates itself. The reason for
> this
> | is that, as per the CVS log for prelude/PrelNames.lhs, all "Main"
> modules now
> | contain a definition for $Main.main -- however, the External Core
> lexer
> | still requires module names to begin with an upper-case letter,
> resulting in
> | a parse error.

Not quite -- the RTS still expected the main closure to be called
zdMain_main_closure, but once I fixed that, everything works as expected.
Patches are attached.

--
Kirsten Chevalier * krc@xxxxxxxxxxxxxxxxxxx * Often in error, never in doubt

Attachment: rtsPrelude.h.patch
Description: Text document

Attachment: rtsMain.c.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise