public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* 64bit version of libstdc++-6.dll missing
@ 2012-07-06 13:30 Christer Solskogen
  2012-07-06 13:39 ` niXman
  0 siblings, 1 reply; 3+ messages in thread
From: Christer Solskogen @ 2012-07-06 13:30 UTC (permalink / raw)
  To: gcc-help

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,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 64bit version of libstdc++-6.dll missing
  2012-07-06 13:30 64bit version of libstdc++-6.dll missing Christer Solskogen
@ 2012-07-06 13:39 ` niXman
  2012-07-06 17:05   ` Christer Solskogen
  0 siblings, 1 reply; 3+ messages in thread
From: niXman @ 2012-07-06 13:39 UTC (permalink / raw)
  To: gcc-help

2012/7/6 Christer Solskogen:
> 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.

This is a known problem.
I wrote scripts for building multilib-MinGW for i686 and x86_64 architectures:
https://github.com/niXman/mingw-builds

Also, I build multilib-MinGW:
https://sourceforge.net/projects/mingwbuilds/


-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 64bit version of libstdc++-6.dll missing
  2012-07-06 13:39 ` niXman
@ 2012-07-06 17:05   ` Christer Solskogen
  0 siblings, 0 replies; 3+ messages in thread
From: Christer Solskogen @ 2012-07-06 17:05 UTC (permalink / raw)
  To: gcc-help

On 7/6/12 3:38 PM, niXman wrote:
> 2012/7/6 Christer Solskogen:
>> 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.
>
> This is a known problem.

Ah, okay. Thanks for the update.

-- 
chs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-06 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-06 13:30 64bit version of libstdc++-6.dll missing Christer Solskogen
2012-07-06 13:39 ` niXman
2012-07-06 17:05   ` Christer Solskogen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).