ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 sparc)))
-ifeq "$(ArchSupportsSMP)" "YES"
+ifeq "$(ArchSupportsSMP)$(GhcUnregisterised)" "YESNO"
GhcWithSMP=YES
else
GhcWithSMP=NO
DEFAULT_TMPDIR = /tmp
ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32"
-DEFAULT_TMPDIR = C:/TEMP
+DEFAULT_TMPDIR = /C/TEMP
endif
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-DEFAULT_TMPDIR = C:/TEMP
+DEFAULT_TMPDIR = /C/TEMP
endif
# FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. (POSIX / unix-style path).
ifeq "$(Windows)" "YES"
ifeq "$(strip $(prefix))" ""
-prefix = c:/ghc
+prefix = /c/ghc
endif
# Hack: our directory layouts tend to be different on Windows, so