At Fri, 10 Oct 2008 11:45:07 +0100,
Thomas Schilling wrote:
> 
> This fixed the build under Windows.  But if I now run the inplace ghc
> in interactive mode it can't find the .dll:
> 
> $ ../../../ghc/ghc/stage2-inplace/ghc.exe --interactive
> GHCi, version 6.11.20081010: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
> Loading package ffi-1.0 ... <command line>: can't load .so/.DLL for: m
> (addDLL: could not load DLL)
> ghc.exe: m: The specified module could not be found.
> 
> Any suggestions?

I dropped "libm" from the extra-libraries field in
package.conf.in. This was a leftover from rts/package.conf.in which I
took as a template. libm is not needed for libffi.
--
Fruhwirth Clemens - http://clemens.endorphin.org 

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to