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
|
new
|
|
| 14 | 14 | |
| 15 | 15 | #include "runProcess.h" |
| 16 | 16 | |
| 17 | | #if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)) |
| | 17 | #if defined(barrelfish_HOST_OS) |
| | 18 | |
| | 19 | extern ProcHandle runInteractiveProcess( char *const args[], |
| | 20 | char *workingDirectory, |
| | 21 | char **environment, |
| | 22 | int fdStdIn, int fdStdOut, int fdStdErr, |
| | 23 | int *pfdStdInput, |
| | 24 | int *pfdStdOutput, |
| | 25 | int *pfdStdError, |
| | 26 | int set_inthandler, long inthandler, |
| | 27 | int set_quithandler, long quithandler, |
| | 28 | int close_fds) |
| | 29 | { |
| | 30 | printf("NYI runInteractiveProcess\n"); |
| | 31 | return NULL; |
| | 32 | } |
| | 33 | |
| | 34 | |
| | 35 | extern int terminateProcess( ProcHandle handle ) |
| | 36 | { |
| | 37 | printf("NYI terminateProcess\n"); |
| | 38 | return -1; |
| | 39 | } |
| | 40 | |
| | 41 | extern int getProcessExitCode( ProcHandle handle, int *pExitCode ) |
| | 42 | { |
| | 43 | printf("NYI getProcessExitCode\n"); |
| | 44 | return -1; |
| | 45 | } |
| | 46 | |
| | 47 | extern int waitForProcess( ProcHandle handle ) |
| | 48 | { |
| | 49 | printf("NYI waitForProcess\n"); |
| | 50 | return -1; |
| | 51 | } |
| | 52 | |
| | 53 | #elif !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)) |
| 18 | 54 | |
| 19 | 55 | #include "execvpe.h" |
| 20 | 56 | |
diff -rN -u old-process/config.sub new-process/config.sub
|
old
|
new
|
|
| 4 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
| 5 | 5 | # Inc. |
| 6 | 6 | |
| 7 | | timestamp='2006-07-02' |
| | 7 | timestamp='2010-08-10' |
| 8 | 8 | |
| 9 | 9 | # This file is (in principle) common to ALL GNU software. |
| 10 | 10 | # The presence of a machine in this file suggests that SOME GNU software |
| … |
… |
|
| 1344 | 1344 | -zvmoe) |
| 1345 | 1345 | os=-zvmoe |
| 1346 | 1346 | ;; |
| | 1347 | -barrelfish) |
| | 1348 | os=-barrelfish |
| | 1349 | ;; |
| 1347 | 1350 | -none) |
| 1348 | 1351 | ;; |
| 1349 | 1352 | *) |