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 Cheers, Krasimir __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users