[nhc-bugs] Re: [nhc-users] ANNOUNCE: nhc98 1.06, incorporating Hat 1.06.
C.Reinke
C.Reinke@ukc.ac.uk
Fri, 15 Jun 2001 17:19:13 +0100
> This message announces a new release of the nhc98 compiler and the Hat
> (Haskell Tracing) system. Version 1.06 is primarily a bugfix release,
> correcting minor bugs and build problems with 1.04.
It seems that one fix got for the Hat Makefile got lost (-lncurses at
the start instead of the end of a linker command; undefined ncurses
variable; a missing -lncurses for hat-detect). One might also want to
change the ncurses variable to capitals, for consistency.
Claus
--- nhc98-1.06/src/tracer/hat/Makefile Fri Jun 1 14:13:44 2001
+++ Makefile Fri Jun 15 17:00:36 2001
@@ -48,7 +48,8 @@
# Thorsten's libraries and tools
THORFLAGS = -g
-LINKFLAGS = -lncurses -g
+LINKFLAGS = -g
+ncurses = -lncurses
$(THOROBJS) : $(OBJDIR)/%.o : %.c
$(CC) -c $(THORFLAGS) -o $@ $<
@@ -63,7 +64,7 @@
$(OBJDIR)/nodelist.o : nodelist.h FunTable.h hatfileops.h Expressions.h
$(OBJDIR)/detect.o : detect.h FunTable.h hatfileops.h Expressions.h nodelist.h hashtable.h
$(DEST)/hat-detect: hat-detect.c $(OBJDIR)/hatfileops.o $(OBJDIR)/observe.o $(OBJDIR)/detect.o
- $(CC) $(LINKFLAGS) hat-detect.c $(THOROBJS) \
+ $(CC) $(LINKFLAGS) hat-detect.c $(THOROBJS) $(ncurses)\
-o $(DEST)/hat-detect
$(DEST)/hat-observe: hat-observe.c $(OBJDIR)/observe.o $(OBJDIR)/hatfileops.o $(OBJDIR)/hashtable.o $(OBJDIR)/detect.o
$(CC) $(LINKFLAGS) hat-observe.c $(THOROBJS) $(ncurses) \