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
|
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 | *) |
diff -rN -u old-old-time/include/HsTime.h new-old-time/include/HsTime.h
|
old
|
new
|
|
| 14 | 14 | #undef PACKAGE_TARNAME |
| 15 | 15 | #undef PACKAGE_VERSION |
| 16 | 16 | |
| | 17 | |
| 17 | 18 | #if HAVE_GETTIMEOFDAY |
| 18 | 19 | # if HAVE_SYS_TIME_H |
| 19 | 20 | # include <sys/time.h> |
diff -rN -u old-old-time/System/Time.hsc new-old-time/System/Time.hsc
|
old
|
new
|
|
| 357 | 357 | |
| 358 | 358 | zone :: Ptr CTm -> IO (Ptr CChar) |
| 359 | 359 | gmtoff :: Ptr CTm -> IO CLong |
| 360 | | #if HAVE_TM_ZONE |
| | 360 | #if barrelfish_HOST_OS |
| | 361 | zone x = return (nullPtr) |
| | 362 | gmtoff x = return 0 |
| | 363 | #elif HAVE_TM_ZONE |
| 361 | 364 | zone x = (#peek struct tm,tm_zone) x |
| 362 | 365 | gmtoff x = (#peek struct tm,tm_gmtoff) x |
| 363 | | |
| 364 | 366 | #else /* ! HAVE_TM_ZONE */ |
| 365 | 367 | # if HAVE_TZNAME || defined(_WIN32) |
| 366 | 368 | # if cygwin32_HOST_OS |