Skip to content
Snippets Groups Projects
Commit 4c633843 authored by Julian Seward's avatar Julian Seward
Browse files

[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.
parent c5b5811c
No related merge requests found
# ----------------------------------------------------------------------------- #
# $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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment