64bit version of libstdc++-6.dll missing

Christer Solskogen christer.solskogen@gmail.com
Fri Jul 6 13:30:00 GMT 2012


Hi!

I've just built a multilib capable gcc (both 4.6.3 and 4.7.1 to see if there
was any difference) using a mingw-w64 cross-compiler. GCC compiles and works
great on Windows, but there seems to be a problem with libstdc++-6.dll.
There is only one version of libstdc++-6.dll installed, and that one is a 32bit
one, which I find stange.
In the gcc-build directory there exists two versions libstdc++-6.dll:

./x86_64-w64-mingw32/libstdc++-v3/src/.libs/libstdc++-6.dll
./x86_64-w64-mingw32/32/libstdc++-v3/src/.libs/libstdc++-6.dll

I suspect that both of them gets installed, but that they are installed in the
same directory and that they overwrite eachother.

gcc is configured like this:  --target=x86_64-w64-mingw32
--build=x86_64-unknown-
freebsd9.0 --host=x86_64-w64-mingw32 --disable-nls --with-
gmp=/home/solskogen/obj/prereq.x86_64-w64-mingw32 --enable-languages=c,c++ --
enable-targets=all --with-sysroot=/home/solskogen/mingw64
--disable-libstdcxx-pch
--enable-checking=release --enable-__cxa_atexit --enable-fully-dynamic-string --
enable-shared --enable-static --disable-win32-registry

-- 
chs,



More information about the Gcc-help mailing list