id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
4468	Linking libstdc++ is broken on Windows	rl		"`Foo.hs`:
{{{
main = return ()
}}}
`file.cpp`:
{{{
#include <iostream>
extern ""C"" { void foo() { std::cout << ""Hello\n""; } }
}}}
Building with:
{{{
ghc -o tst Foo.hs file.cpp -lstdc++
}}}
and then running `tst.exe` produces this:
{{{
tst.exe: error while loading shared libraries: libstdc++-6.dll:
cannot open shared object file: No such file or directory
}}}
Adding `-optl-static` makes the error go away. GHC doesn't seem to ship `libstdc++-6.dll` but does ship `libstdc++-6.dll.a` which might cause the problem."	bug	closed	high	7.0.2	Compiler	7.1	fixed		NeilMitchell	Windows	Unknown/Multiple	None/Unknown					
