Verified Commit 7421aa85 authored by Bernd Paysan's avatar Bernd Paysan
Browse files

gforth-ditc gets debugging option

parent 3b935f30
Loading
Loading
Loading
Loading
Loading
+14 −12
Original line number Diff line number Diff line
@@ -955,52 +955,54 @@ check: gforths gforth.fi more

checkones:	checkg checkgi checkgdi checkgf checkgd checkgfd @libbench@checklibg checklibgi checklibgdi checklibgf checklibgd checklibgfd

CHECK = >check.out 2>&1 || cat check.out this-file-does-not-exist 2>/dev/null

checklibg:
		$(MAKE) checkone check-nofast ENGINE="./libgforth$(EXT) --no-dynamic" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./libgforth$(EXT) --no-dynamic" $(CHECK)
		@$(RM) check.out

checklibgi:
		$(MAKE) checkone check-nofast ENGINE="./libgforth-itc$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./libgforth-itc$(EXT)" $(CHECK)
		@$(RM) check.out

checklibgdi:
		$(MAKE) checkone check-nofast ENGINE="./libgforth-ditc$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./libgforth-ditc$(EXT)" $(CHECK)
		@$(RM) check.out

checklibgf:
		$(MAKE) checkone ENGINE="./libgforth-fast$(EXT) --no-dynamic" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone ENGINE="./libgforth-fast$(EXT) --no-dynamic" $(CHECK)
		@$(RM) check.out

checklibgd:
		$(MAKE) checkone check-nofast ENGINE="./libgforth$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./libgforth$(EXT)" $(CHECK)
		@$(RM) check.out

checklibgfd:
		$(MAKE) checkone ENGINE="./libgforth-fast$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone ENGINE="./libgforth-fast$(EXT)" $(CHECK)
		@$(RM) check.out

checkg:
		$(MAKE) checkone check-nofast ENGINE="./gforth$(EXT) --no-dynamic" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./gforth$(EXT) --no-dynamic" $(CHECK)
		@$(RM) check.out

checkgi:
		$(MAKE) checkone check-nofast ENGINE="./gforth-itc$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./gforth-itc$(EXT)" $(CHECK)
		@$(RM) check.out

checkgdi:
		$(MAKE) checkone check-nofast ENGINE="./gforth-ditc$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./gforth-ditc$(EXT)" $(CHECK)
		@$(RM) check.out

checkgf:
		$(MAKE) checkone ENGINE="./gforth-fast$(EXT) --no-dynamic" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone ENGINE="./gforth-fast$(EXT) --no-dynamic" $(CHECK)
		@$(RM) check.out

checkgd:
		$(MAKE) checkone check-nofast ENGINE="./gforth$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone check-nofast ENGINE="./gforth$(EXT)" $(CHECK)
		@$(RM) check.out

checkgfd:
		$(MAKE) checkone ENGINE="./gforth-fast$(EXT)" >check.out 2>&1 || cat check.out foobar 2>/dev/null
		$(MAKE) checkone ENGINE="./gforth-fast$(EXT)" $(CHECK)
		@$(RM) check.out

checkone test: gforth.fi engine/prim-s.i
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ engine-itc$(OPT).o libengine-itc$(OPT).lo: $(ENGINE_DEPS)
		$(COMPILER) $(ENGINE_FLAGS) -DINDIRECT_THREADED -DGFORTH_DEBUGGING -o $@ $(srcdir)/engine.c

engine-ditc$(OPT).o libengine-ditc$(OPT).lo:	$(ENGINE_DEPS)
		$(COMPILER) $(ENGINE_FLAGS) -DDOUBLY_INDIRECT -o $@ $(srcdir)/engine.c
		$(COMPILER) $(ENGINE_FLAGS) -DDOUBLY_INDIRECT -DGFORTH_DEBUGGING -o $@ $(srcdir)/engine.c

engine-prof$(OPT).o libengine-prof$(OPT).lo:	$(ENGINE_DEPS)
		$(COMPILER) $(ENGINE_FLAGS) -DVM_PROFILING -o $@ $(srcdir)/engine.c