[Hackage] #537: c2hs needs to be told where gcc -E lives on Windows

Hackage trac at galois.com
Thu Apr 2 13:26:26 EDT 2009


#537: c2hs needs to be told where gcc -E lives on Windows
------------------------------+---------------------------------------------
  Reporter:  duncan           |        Owner:           
      Type:  defect           |       Status:  new      
  Priority:  normal           |    Milestone:  Cabal-1.8
 Component:  Cabal library    |      Version:  1.6.0.2  
  Severity:  normal           |     Keywords:           
Difficulty:  easy (<4 hours)  |   Ghcversion:           
  Platform:  Windows          |  
------------------------------+---------------------------------------------
 c2hs uses cpp or gcc -E to pre-process header files. On Windows this is
 not typically on the %PATH%. Cabal already knows how to find ghc's
 instance of gcc and how it must be called. This is already used for
 telling hsc2hs to use the right gcc.

 It should be fairly easy to do the same thing for c2hs and to share the
 code between the two.

 See also #536.

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


More information about the cabal-devel mailing list