#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 <[EMAIL PROTECTED]>
* 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_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel