AW: "Compiled code too complex" error message - Problem solved.

Laaser Christian Christian.Laaser@icn.siemens.de
Thu, 1 Mar 2001 09:54:27 +0100


Thank you very much for your message.
I think the new Feb 2001 distribution doesn't use the large version.
Look at the code extract from options.h:
#define SMALL_HUGS   0
#define REGULAR_HUGS 0
#define LARGE_HUGS   0
If I understand it correctly LARGE_HUGS should normally be defined as 1 =

so that the large version is used by default.
I can confirm that changing NUM_FIXUPS to 1000 solves my problem
because I used Feb 2001 distribution with the modified hugs.exe=20
Karl M. Syring sent me and the interpreter is working fine.

Christian

> -----Urspr> =FCngliche Nachricht-----
> Von:	Alastair Reid [SMTP:reid@cs.utah.edu]
> Gesendet am:	Montag, 26. Februar 2001 18:22
> An:	Laaser Christian; 'Mark P Jones'
> Cc:	hugs-bugs@haskell.org; kort@wins.uva.nl; Lescher Christian
> Betreff:	RE: AW: What does "Compiled code too complex" error message =
of Hugs  mean?
>=20
> Laaser Christian writes:
>=20
> > I installed the new Feb 2001 distribution and I saw that NUM_FIXUPS
> > with value 1000 is only possible for large version of hugs =
interpreter.
> > It would be great if I could get this version because the standard
> > interpreter
> > only  has a NUM_FIXUPS of 400  and so I get the error message
> > "Compiled code too complex".
>=20
> Almost every machine in existence uses the large version so I'm a bit =
surprised
> by this report.  Can you confirm:
>=20
> a) That your machine _does not_ use the large version.
>    (Look at the values of SMALL_HUGS, REGULAR_HUGS and LARGE_HUGS in
> hugs98/src/options.h)
>=20
> b) That changing NUM_FIXUPS to 1000 fixes your problem.
>=20
> If you are indeed using the regular version, is there any reason why =
you can't
> use the large version?
>=20
> --
> Alastair Reid