Wed Aug 11 10:57:17 BST 2010  rmcilroy@microsoft.com
  * Checkpoint GHC on Barrelfish work 
  
  Now at the stage where we can build and run a helloword Haskell application on Barrelfish.
  
Thu Jul 29 14:56:51 BST 2010  rmcilroy@microsoft.com
  * Changes to get ghc building against Barrelfish
diff -rN -u old-old-time/config.sub new-old-time/config.sub
--- old-old-time/config.sub	2010-08-11 16:04:02.000000000 +0100
+++ new-old-time/config.sub	2010-08-11 16:04:02.000000000 +0100
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.
 
-timestamp='2006-07-02'
+timestamp='2010-08-10'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -1344,6 +1344,9 @@
 	-zvmoe)
 		os=-zvmoe
 		;;
+	-barrelfish)
+		os=-barrelfish
+		;;
 	-none)
 		;;
 	*)
diff -rN -u old-old-time/include/HsTime.h new-old-time/include/HsTime.h
--- old-old-time/include/HsTime.h	2010-08-11 16:04:02.000000000 +0100
+++ new-old-time/include/HsTime.h	2010-08-11 16:04:02.000000000 +0100
@@ -14,6 +14,7 @@
 #undef PACKAGE_TARNAME
 #undef PACKAGE_VERSION
 
+
 #if HAVE_GETTIMEOFDAY
 #  if HAVE_SYS_TIME_H
 #   include <sys/time.h>
diff -rN -u old-old-time/System/Time.hsc new-old-time/System/Time.hsc
--- old-old-time/System/Time.hsc	2010-08-11 16:04:02.000000000 +0100
+++ new-old-time/System/Time.hsc	2010-08-11 16:04:02.000000000 +0100
@@ -357,10 +357,12 @@
 
 zone   :: Ptr CTm -> IO (Ptr CChar)
 gmtoff :: Ptr CTm -> IO CLong
-#if HAVE_TM_ZONE
+#if barrelfish_HOST_OS
+zone x      = return (nullPtr)
+gmtoff x    = return 0
+#elif HAVE_TM_ZONE
 zone x      = (#peek struct tm,tm_zone) x
 gmtoff x    = (#peek struct tm,tm_gmtoff) x
-
 #else /* ! HAVE_TM_ZONE */
 # if HAVE_TZNAME || defined(_WIN32)
 #  if cygwin32_HOST_OS

