[GHC] #1196: Cabal on Windows doesn't like the in-place GHCs

GHC trac at galois.com
Mon Mar 5 16:06:39 EST 2007


#1196: Cabal on Windows doesn't like the in-place GHCs
------------------------------+---------------------------------------------
 Reporter:  igloo             |          Owner:         
     Type:  bug               |         Status:  new    
 Priority:  normal            |      Milestone:  _|_    
Component:  Compiler          |        Version:  6.6    
 Severity:  normal            |     Resolution:         
 Keywords:                    |     Difficulty:  Unknown
 Testcase:  cabal01, cabal02  |   Architecture:  Unknown
       Os:  Windows           |  
------------------------------+---------------------------------------------
Comment (by simonmar):

 Yes, I got halfway to fixing this and didn't finish it.  Basically I was
 planning to do away with the ghc-inplace scripts on Windows, and instead
 have the GHC binary figure out whether it was in a build tree or not by
 inspecting the binary pathname.

 ghc-inplace causes problems for the testsuite driver too, IIRC.

 Unfortunately similar changes would also be required to ghc-pkg (doing
 away with ghc-pkg-inplace on Windows), since there's no way to pass extra
 arguments to ghc-pkg via Cabal (perhaps there should be?).

 Better ideas welcome...

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1196>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list