On 04 May 2004 19:54, Krasimir Angelov wrote: > In the current implementation of the ghc-pkg util > it is impossible to build GHCi libs if you don't have > ld in the current search path. Under Windows the > compiler usually comes with its own linker > (ghc-lib/ld.exe). Why doesn't ghc-pkg use the own > linker? If there isn't any reason not to do that I > would like to apply the patch: > > 374a375,379 >> #ifdef mingw32_HOST_OS >> execDir <- getExecDir "/bin/ghc-pkg.exe" >> system (maybe "" (++"/gcc-lib/") execDir++"ld -r -x -o " ++ >> ghci_lib_file ++ > >> " --whole-archive " ++ batch_lib_file) >> #else > 376a382 >> #endif
Please go ahead and apply this patch. Cheers, Simon _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users