[Hackage] #182: Cabal can't find ld.exe on windows

Hackage trac at galois.com
Tue Nov 20 05:39:27 EST 2007

#182: Cabal can't find ld.exe on windows
  Reporter:  guest    |        Owner:         
      Type:  defect   |       Status:  new    
  Priority:  normal   |    Milestone:         
 Component:  Cabal    |      Version:
  Severity:  normal   |     Keywords:         
Difficulty:  normal   |   Ghcversion:  6.6    
  Platform:  Windows  |  
 On windows, cabal cannot find ld.exe:

 D:\private\haskell\MaybeT-0.1.0>runghc Setup.hs configure -v3
 Configuring MaybeT-0.1.0...
 Creating dist (and its parents)
 C:\ghc\ghc-6.8.1\bin\ghc.exe --numeric-version
 looking for package tool: ghc-pkg near compiler in C:\ghc\ghc-6.8.1\bin
 found package tool in C:\ghc\ghc-6.8.1\bin\ghc-pkg.exe
 C:\ghc\ghc-6.8.1\bin\ghc-pkg.exe --version
 Setup.hs: ld is required but it could not be found.

 On windows, installator of ghc adds only 'ghc\bin' directory to $PATH but
 ld.exe (as well as other gcc tools) is to be found in 'ghc\gcc-lib'. if
 one adds 'ghc\gcc-lib' to $PATH manually then everything works.

 Refer to this thread on haskell-cafe: http://www.haskell.org/pipermail

 GHC version 6.8.1 (such an entry in the pull down menu of this bug report
 does not exist!)

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/182>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list