On Mon, Sep 02, 2002 at 03:16:37PM +0100, Simon Marlow wrote:
Great stuff! I've just linked a copy of GHCi that doesn't need to load up the base package when it starts :-) However, the binary is ~15Mb compared to ~8Mb normally.
BTW, I just ran a strip --strip-unneeded on Duncan's TestDynLink program, and it reduced the file size a fair bit: -rwxrwx--- 1 andrep andrep 5267252 2002-09-04 16:07 TestDynLink* -rwxrwx--- 1 andrep andrep 7186984 2002-09-04 16:07 TestDynLink-nostrip* .. and the quick test still seems to work: 16:07 ~/projects/haskell_dynamic_linking/dynlink % ./TestDynLink GHC dynamic loading test program c_loadObj pluginObj returned 1 c_resolveObjs returned 1 lookup symbol: TestObj_zdgfromMyBool_info symbol is present (Sorry for the flood of posts, but I'm pretty excited that we've all managed to get this working!) -- #ozone/algorithm <ozone@algorithm.com.au> - trust.in.love.to.save