From 4c633843c6a6232ad10e5e8c598689f61ee33bd7 Mon Sep 17 00:00:00 2001 From: sewardj <unknown> Date: Tue, 6 Jul 1999 15:24:35 +0000 Subject: [PATCH] [project @ 1999-07-06 15:24:35 by sewardj] Mods to enable interworking with simple compiled code. Supports fns and data decls. Classes, instances, primops, don't work yet. Unregisterised, mininterpreted x86-ELF is the supported object format. GC appears to work correctly. --- ghc/interpreter/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/interpreter/Makefile b/ghc/interpreter/Makefile index 0a410a9b31e2..60933d74eae7 100644 --- a/ghc/interpreter/Makefile +++ b/ghc/interpreter/Makefile @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # -# $Id: Makefile,v 1.9 1999/06/07 17:22:54 sewardj Exp $ # +# $Id: Makefile,v 1.10 1999/07/06 15:24:35 sewardj Exp $ # # ----------------------------------------------------------------------------- # TOP = ../.. @@ -27,7 +27,7 @@ C_SRCS = link.c type.c static.c storage.c derive.c input.c compiler.c subst.c \ translate.c codegen.c lift.c free.c stgSubst.c optimise.c output.c \ hugs.c dynamic.c stg.c sainteger.c interface.c -SRC_CC_OPTS = -g -I$(GHC_DIR)/interpreter -I$(GHC_DIR)/includes -I$(GHC_DIR)/rts -D__HUGS__ -DCOMPILING_RTS -Wall -Wstrict-prototypes -Wno-unused +SRC_CC_OPTS = -g -I$(GHC_DIR)/interpreter -I$(GHC_DIR)/includes -I$(GHC_DIR)/rts -D__HUGS__ -DCOMPILING_RTS -Wall -Wstrict-prototypes -DDEBUG -DDEBUG_EXTRA GHC_LIBS_NEEDED = $(TOP)/ghc/rts/libHSrts.a @@ -36,7 +36,7 @@ all :: parser.c $(GHC_LIBS_NEEDED) nHandle.so hugs ### EXTREMELY hacky hugs: $(C_OBJS) ../rts/Sanity.o ../rts/Assembler.o ../rts/Disassembler.o \ ../rts/Evaluator.o ../rts/ForeignCall.o ../rts/GC.o ../rts/Printer.o \ - nHandle.so + ../rts/StgCRun.o nHandle.so $(CC) -o $@ -rdynamic $(CC_OPTS) $^ $(GHC_LIBS_NEEDED) -lbfd -liberty -ldl -lm nHandle.so: -- GitLab