# GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
GhcWithHscBuiltViaC=@BootingFromHc@
-# Build a registerised version of hsc and runtime
-# (unregisterised used for Hugs at the moment)
-GhcWithRegisterised=YES
-
# Build a compiler with a native code generator backend
# (as well as a C backend)
#
# to somewhere with more space. (TMPDIR=. is a good choice).
# DEFAULT_TMPDIR isn't called TMPDIR because GNU make tends to
-# override the environment variable with the value of the make
-# variable when executing sub-processes, so setting the TMPDIR env var
-# would have no effect in the build tree.
+# override an environment variable with the value of the make variable
+# of the same name (if it exists) when executing sub-processes, so
+# setting the TMPDIR env var would have no effect in the build tree.
DEFAULT_TMPDIR = /tmp
# Sometimes we want to invoke ghc from the build tree in different
# projects (eg. it's handy to have a nofib & a ghc build in the same
-# tree). We can refer to "this ghc" as $(GHC_INPLACE).
-# The addition to PATH makes the inplace GHC pick up the right
-# DLLs under Windows; it won't have any effect on other platforms.
+# tree). We can refer to "this ghc" as $(GHC_INPLACE):
-GHC_INPLACE = PATH=$(FPTOOLS_TOP)/dll:$$PATH $(FPTOOLS_TOP)/ghc/driver/ghc-inplace
+GHC_INPLACE = $(FPTOOLS_TOP)/ghc/compiler/ghc-inplace
#-----------------------------------------------------------------------------
# C compiler