Ticket #123 (closed defect: fixed)
Haskell Platform 2010.1.0.0 platform does not include C++ support
|Reported by:||jodonoghue||Owned by:||refold|
Unable to cabal install wx (wxHaskell installation) on 2010.1.0.0 Haskell Platform (this has succeeded on previous versions of HP).
Analysis showed error compiling the wrapper around C++ code in wxWidgets, due to cabal unable to find cc1plus.exe.
This is blocking for anyone trying to compile C++ code via Cabal installers on Windows using the latest HP, and breaks wxHaskell installation on Windows using Haskell Platform.
Attached reply from Neil Mitchell to mail on haskell mailing list:
On checking, Haskell Platform\2010.1.0.0\mingw\libexec\gcc\mingw32\3.4.5 does not contain cc1plus.exe. Previous versions of the platform have done so. Is this an accidental change or a deliberate policy decision?
ghc-6.12.1 on Windows did not include the mingw C++ compiler. This was a mistake. It is included once more in ghc-6.12.2.
ghc-6.12.1 didn't include cc1plus.exe or libstdc++.a. The lack of libstdc++.a caused a failure in something I was building, so I raised a bug and it's now included in 6.12.2. I didn't explicitly compile any C++ code, so it's possible that still doesn't work. It wasn't a policy decision, merely an accident, and I'm sure if you alert people it will be rectified (since otherwise it's a regression).