haskell-platform | 28 Oct 18:02 2011

#187: Haskell Platform 2011.2.0.1 GHC cannot find libstdc++.a

#187: Haskell Platform 2011.2.0.1 GHC cannot find libstdc++.a
-----------------------+----------------------------------------------------
 Reporter:  dtrebbien  |       Owner:  dons
     Type:  defect     |      Status:  new 
 Priority:  major      |   Milestone:      
Component:  GHC        |    Keywords:      
-----------------------+----------------------------------------------------
 I attempted to compile the just-released snap-0.6 package via `cabal
 install`, but it failed in the "Loading packages" phase with:

 {{{
 Loading package double-conversion-0.2.0.1 ... ghc.exe: stdc++: The
 specified module could not be found.
 <command line>: can't load .so/.DLL for: stdc++ (addDLL: could not load
 DLL)
 }}}

 The [https://github.com/mailrank/double-conversion double-conversion]
 package specifies `extra-libraries: stdc++`. The double-conversion package
 compiles successfully using `cabal install`, but when GHC attempts to link
 it into an executable, GHC does not know to look in
 `%HASKELL_PLATFORM_INSTALL_DIR%\mingw\lib\gcc\mingw32\4.5.0` for
 `libstdc++.a`.

 ==== Related tickets ====

 * Ticket #123 (Haskell Platform 2010.1.0.0 platform does not include C++
 support)

--

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/187>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries

Gmane