Kevin GLYNN wrote:
> [...]
> ObBug2
> ------
> I want to run gmake install (necessary with the library
> re-organisations!). I get the following error:
> 
> [keving@holly] kgbuild [52] make uninstall
> /bin/sh: syntax error at line 1: `;' unexpected
> [...]
> 

This is a classic one:
   http://www.dcs.gla.ac.uk/mail-www/glasgow-haskell-bugs/msg00785.html

> ObBug3
> ------
> 
> hstags is missing a semi-colon from the end of line 70.
> 

This one is known, too:
   http://www.dcs.gla.ac.uk/mail-www/glasgow-haskell-bugs/msg00972.html

Shortly after the release of 3.01 there was a phase of wild
Patch-O-mania, so it was easy to miss some of the bug fixes.

> ObBug4
> ------
> [...] I don't need an optimised parser, but my cold
> semolina can't be bothered working out how to write a Makefile that
> passes different options to one file than all the others ....

I guess that your makefile uses pattern rules like this:

%.o: %.hs
        $(RM) $@
        $(HC) $(HCFLAGS) -c $< -o $@

with HCFLAGS probably containing -O. You can override this by an
explicit rule for your parser, stating that it should be compiled
without optimisations:

Parser.o: Parser.hs
        $(RM) $@
        $(HC) $(HCFLAGS) -Onot -c $< -o $@

Hope this helps.

-- 
Sven Panne                                        Tel.: +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.pms.informatik.uni-muenchen.de/mitarbeiter/panne

Reply via email to