Re: Bug in Edison Makefile

1999-12-21 Thread Sven Panne

Simon Marlow wrote:
 You shouldn't try building in the edison subdir; [...]

That was only a test to see what is going on. I'm doing the
usual `make all' directly in fptools/ in the course of building
a ghc+hslibs RPM. The current hack is to add the following to
mk/build.mk:

   SRC_HC_OPTS += -fallow-undecidable-instances

(Actually, -O is included, too.) I'm not sure if adding
-funbox-strict-fields would do any harm, so it is not added.

Cheers,
   Sven
-- 
Sven PanneTel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen  Oettingenstr. 67
mailto:[EMAIL PROTECTED]D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne



RE: Bug in Edison Makefile

1999-12-21 Thread Simon Marlow

 When you call `make all' from the edison subdir, the compiler and the
 flags change magically and dependencies seem to be broken:

You shouldn't try building in the edison subdir; the Makefile in
fptools/hslibs/data is designed to reach into edison and build the required
bits.  That way we can keep a full edison distribution in the tree but still
have an fptools-style Makefile.

I'll take a look at your other build problem shortly...

Cheers,
Simon



Re: Bug in Edison Makefile

1999-12-21 Thread Chris Okasaki

Simon Marlow wrote:
  When you call `make all' from the edison subdir, the compiler and the
  flags change magically and dependencies seem to be broken:
 
 You shouldn't try building in the edison subdir; the Makefile in
 fptools/hslibs/data is designed to reach into edison and build the required
 bits.  That way we can keep a full edison distribution in the tree but still
 have an fptools-style Makefile.

I didn't know that!  In that case, the fix is to adjust the Makefile in 
fptools/hslibs/data to add the following compilation flags
  -fallow-undecidable-instances
and
  -funbox-strict-fields
The latter is not absolutely necessary just to get it to compile, 
but Edison is intended to be used with that flag on.

I'll let you know if and when other compilation flags change...

Chris