#4468: Linking libstdc++ is broken on Windows ---------------------------------+------------------------------------------ Reporter: rl | Owner: igloo Type: bug | Status: new Priority: high | Milestone: 7.0.2 Component: Compiler | Version: 7.1 Keywords: | Testcase: Blockedby: | Difficulty: Os: Windows | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown ---------------------------------+------------------------------------------ Changes (by igloo):
* cc: NeilMitchell (added) Comment: Removing `libstdc++.dll.a` sounds like the wrong thing to me. There's no technical reason why we need to include the C++ support at all, but we do so to make it easier for Windows people who want to link with C++ code. I think there are two options that make sense: * Add `libstdc++-6.dll` so dynamically linked C++ programs work, although presumably you'll have to either change your path or put the DLL in the right place. If you want a statically linked program then you need to use `-optl-static` as normal. * Remove the C++ bits that we currently do include. Users who want C++ support will need install more mingw bits themselves, either as part of the GHC in-tree mingw, or as part of a normal system mingw installation. Any thoughts? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4468#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs