RE: ghc-pkg can't build GHCi libs in Windows Command Prompt

5 May
2004
5 May
'04
10:16 a.m.
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
7688
Age (days ago)
7688
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow