Ticket #383 (new defect)

Opened 17 months ago

Last modified 15 months ago

Hsc2hs preprocessor does not ensure that gcc has been found.

Reported by: nominolo Owned by:
Priority: normal Milestone: Cabal-1.8
Component: Cabal library Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.10.1 Platform:

Description

When trying to configure with an inplace GHC on Windows, Cabal dies with an irrefutable pattern match error. The offending line is:

    Just gccProg = lookupProgram  gccProgram (withPrograms lbi)

in D.S.PreProcess.ppHsc2hs.

The problem was that configure didn't find gcc in its expected place (ghcBase </> "gcc.exe") and Cabal didn't check that it did before running the preprocessor.

Change History

Changed 15 months ago by duncan

  • milestone set to Cabal-1.8
Note: See TracTickets for help on using tickets.