Wed Aug 11 10:57:51 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:57:07 BST 2010  rmcilroy@microsoft.com
  * Changes to get ghc building against Barrelfish
diff -rN -u old-process/cbits/runProcess.c new-process/cbits/runProcess.c
--- old-process/cbits/runProcess.c	2010-08-11 16:03:20.000000000 +0100
+++ new-process/cbits/runProcess.c	2010-08-11 16:03:20.000000000 +0100
@@ -14,7 +14,43 @@
 
 #include "runProcess.h"
 
-#if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
+#if defined(barrelfish_HOST_OS)
+
+extern ProcHandle runInteractiveProcess( char *const args[], 
+					 char *workingDirectory, 
+					 char **environment, 
+                                         int fdStdIn, int fdStdOut, int fdStdErr,
+					 int *pfdStdInput, 
+					 int *pfdStdOutput, 
+					 int *pfdStdError,
+                                         int set_inthandler, long inthandler, 
+                                         int set_quithandler, long quithandler,
+                                         int close_fds)
+{
+    printf("NYI runInteractiveProcess\n");
+    return NULL;
+}
+
+
+extern int terminateProcess( ProcHandle handle )
+{
+    printf("NYI terminateProcess\n");
+    return -1;
+}
+
+extern int getProcessExitCode( ProcHandle handle, int *pExitCode )
+{
+    printf("NYI getProcessExitCode\n");
+    return -1;
+}
+
+extern int waitForProcess( ProcHandle handle )
+{
+    printf("NYI waitForProcess\n");
+    return -1;
+}
+
+#elif !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
 
 #include "execvpe.h"
 
diff -rN -u old-process/config.sub new-process/config.sub
--- old-process/config.sub	2010-08-11 16:03:20.000000000 +0100
+++ new-process/config.sub	2010-08-11 16:03:20.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)
 		;;
 	*)
