AW: What does "Compiled code too complex" error message of Hugs m ean?

Laaser Christian [email protected]
Thu, 1 Feb 2001 13:35:59 +0100


I never built Hugs on Windows before :-( ...=20
and a trial to do so with cygwin/gcc was unsuccessful.=20
Have you got a precompiled binary for Win (hugs.exe) with these =
settings,=20
which you could send me / I could download from somewhere?
=20
 Christian

> -----Urspr> =FCngliche Nachricht-----
> Von:	Jan Kort [SMTP:[email protected]]
> Gesendet am:	Mittwoch, 31. Januar 2001 13:34
> An:	Laaser Christian
> Cc:	'[email protected]'
> Betreff:	Re: What does "Compiled code too complex" error message of =
Hugs mean?
>=20
> Laaser Christian wrote:
> >=20
> > When loading some Haskell files with Hugs, I get the error message =
"Compiled code too complex". However, the compilation with GHC 4.08.1 =
succeeds.
> > What does this message mean? What can I do about it?
> >=20
>=20
> You can grep for that sentence in "hugs98/src", it will point to the
> file "machine.c". There you will see it says "if =
(nextLab>=3DNUM_FIXUPS) ...".
> So grep for "NUM_FIXUPS" it will point to the file "prelude.h". I
> think the default value is 400, you should increase it to 1000 or so.
> I have it at 10000, but that's probably not necesary in your case
> and if you increase constants too much starting up Hugs will become
> slower.
>=20
>   Jan