From: Malcolm.Wallace@cs.york.ac.uk Date: Fri, 5 Jun 2009 09:17:30 +0000 (+0000) Subject: nhc98 must build dirUtils.c as well. X-Git-Tag: 2009-06-25~25 X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=e5cae33016a7dc093608aecfe4e737e814d0afa6 nhc98 must build dirUtils.c as well. Fixes this bootstrapping error: Undefined symbols: "___hscore_readdir", referenced from: _FR_System_46Posix_46Internals_46readdir_35 in libHSbase.a(Internals.o) --- diff --git a/Makefile.nhc98 b/Makefile.nhc98 index 54aab94..8cffa95 100644 --- a/Makefile.nhc98 +++ b/Makefile.nhc98 @@ -2,6 +2,7 @@ THISPKG = base SEARCH = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude \ -I../../prelude/PreludeIO -I../../prelude/`$(LOCAL)harch` EXTRA_H_FLAGS = -H4M -K3M +EXTRA_C_FLAGS = -D__NHC__ EXTRA_HBC_FLAGS = -H16M -A1M DIRS = \ @@ -39,7 +40,7 @@ SRCS = \ Text/Read.hs Text/Show.hs Text/Show/Functions.hs \ Text/ParserCombinators/ReadP.hs Data/Version.hs \ Unsafe/Coerce.hs \ - WCsubst.c \ + WCsubst.c dirUtils.c \ System/Posix/Types.hs System/Posix/Internals.hs \ # Data/String.hs