Re: GHCi can't see 'atexit', can't load module

2009-09-13 Thread Ian Lynagh
On Tue, Aug 25, 2009 at 11:20:17PM -0300, Maurí­cio CA wrote: I just checked it seems not to be possible to load any module in GHCi that uses FFI to wrap the standard C function 'atexit'. When trying that, we get a message saying the symbol 'atexit' can't be found. (This is not a problem when

Re: GHCi can't see 'atexit', can't load module

2009-08-26 Thread Maurí­cio CA
I just checked it seems not to be possible to load any module in GHCi that uses FFI to wrap the standard C function 'atexit'. (...) A simple workaround is to just compile the module. (...) If I build a package (using cabal etc.) and try to load such package with 'ghci -package name' the

GHCi can't see 'atexit', can't load module

2009-08-25 Thread Maurí­cio CA
(I left this in cafe, but I think it is actually ghc related.) I just checked it seems not to be possible to load any module in GHCi that uses FFI to wrap the standard C function 'atexit'. When trying that, we get a message saying the symbol 'atexit' can't be found. (This is not a problem when