patch applied (ghc): Delay building libffi until package.conf
is created and fix bindist
Simon Marlow
marlowsd at gmail.com
Fri Oct 10 07:34:48 EDT 2008
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.
At a guess, you need to add the ffi package to init_pkgs in
compiler/ghci/Linker.lhs.
Cheers,
Simon
> Any suggestions?
>
> 2008/10/10 Clemens Fruhwirth <clemens at endorphin.org>:
>> Fri Oct 10 00:31:06 PDT 2008 Clemens Fruhwirth <clemens at endorphin.org>
>> * Delay building libffi until package.conf is created and fix bindist
>>
>> M ./Makefile -1 +1
>> M ./libffi/Makefile -3 +5
>>
>> View patch online:
>> http://darcs.haskell.org/ghc/_darcs/patches/20081010073106-ed0c4-4939384377c92b904d004588d809cdef0ac7586e.gz
>>
>> _______________________________________________
>> Cvs-ghc mailing list
>> Cvs-ghc at haskell.org
>> http://www.haskell.org/mailman/listinfo/cvs-ghc
>>
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list