10 Dec
2002
10 Dec
'02
1:51 a.m.
Thanks to the amazing work by Wolfgang Thaller on GHC for Mac OS X, it was trivial to port the RuntimeLoader to work on Mac OS X (or Darwin, if you want to be pedantic). The runtime loader enables a GHC program to load object files (.o) at runtime and load functions in them, much like how you can dlopen() a shared library on many Unixes. For more information on the runtime loader, see http://www.algorithm.com.au/wiki/hacking/haskell.ghc_runtime_loading It's been tested and verified with GHC 5.04.2 on Mac OS X, and GHC 5.04 on Linux. If it works on Windows (and there's a good chance it might), please let me know! -- #ozone/algorithm <ozone@algorithm.com.au> - trust.in.love.to.save