RE: Loading package GHC in GHCi

2005-01-10 Thread Simon Marlow
On 09 January 2005 06:50, Sean Seefried wrote: I have managed to build package GHC *and* load it into GHCi. Initially this did not work. When I loaded up ghci with the -package ghc flag I was assaulted with the following error message. GHCi runtime linker: fatal error: I found a

Re: Loading package GHC in GHCi

2005-01-09 Thread Andre Pang
On 09/01/2005, at 5:49 PM, Sean Seefried wrote: I have managed to build package GHC *and* load it into GHCi. Initially this did not work. When I loaded up ghci with the -package ghc flag I was assaulted with the following error message. GHCi runtime linker: fatal error: I found a duplicate

RE: Loading package ghc within GHCi

2005-01-06 Thread Simon Marlow
On 05 January 2005 22:20, Wolfgang Thaller wrote: The hook idea works with static linking: the RTS provides a default version of the hook, that can be overriden by a user-supplied function of the same name. This is what GHC does. However, our dynamic linker doesn't support this kind of

Re: Loading package ghc within GHCi

2005-01-05 Thread Wolfgang Thaller
The hook idea works with static linking: the RTS provides a default version of the hook, that can be overriden by a user-supplied function of the same name. This is what GHC does. However, our dynamic linker doesn't support this kind of overriding. The system's dynamic linker does, though: