[Hackage] #347: findProgramVersion fails with Debian's gcc

Hackage trac at galois.com
Mon Sep 1 08:33:24 EDT 2008


#347: findProgramVersion fails with Debian's gcc
----------------------------+-----------------------------------------------
  Reporter:  ross           |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.2.3.0
  Severity:  normal         |   Resolution:  fixed  
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.2          |     Platform:         
----------------------------+-----------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Hopefully this patch fixed it:

 {{{
 Sun Aug 31 15:01:45 PDT 2008  Duncan Coutts <duncan at haskell.org>
   * Use a hopefully more robust method of determining the gcc version
 }}}

 We now call `gcc -dumpversion` rather than interpreting the output of `gcc
 --version`. I've checked `gcc -dumpversion` on all the platforms I have
 access to (including debian, ubuntu and solaris) and it produces
 consistent results.

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


More information about the cabal-devel mailing list