Op 8 sep. 2011 15:34 schreef "C++0X" <[email protected]> het volgende:
>
> For static build, i use the following
>
----------------------------------------------------------------------------------------------------------------------------
> $ /opt/gcc/4.7.0-32.pthread/bin/g++ -pipe -o a.exe a.cpp
/opt/gcc/4.7.0-32.pthread/li
> b/libstdc++.a
/opt/gcc/4.7.0-32.pthread/lib/gcc/i686-w64-mingw32/4.7.0/libgcc.a /opt/
> gcc/4.7.0-32.pthread/lib/gcc/i686-w64-mingw32/4.7.0/libgcc_eh.a
/opt/gcc/4.7.0-32.pth
> read/i686-w64-mingw32/lib/libwinpthread.a
>
> $ listdll a.exe
> DLL Name: KERNEL32.dll
> DLL Name: msvcrt.dll
> DLL Name: msvcrt.dll
>
> For dynamic build, i use the these:
>
------------------------------------------------------------------------------------------------------------------------------
> $ /opt/gcc/4.7.0-32.pthread/bin/g++ -pipe -o a.exe a.cpp
/opt/gcc/4.7.0-32.pthread/li
> b/libstdc++.dll.a /opt/gcc/4.7.0-32.pthread/lib/libgcc_s.a
>
> $ listdll a.exe
> DLL Name: KERNEL32.dll
> DLL Name: msvcrt.dll
> DLL Name: libgcc_s_sjlj-1.dll
> DLL Name: libstdc++-6.dll
>
> All the required dlls are in current directory.
> $ ls
> a.cpp a.exe* libgcc_s_sjlj-1.dll* libstdc++-6.dll*
libwinpthread-1.dll*
>
> All of them give me a "stop working" window after outputing "Hello,
World!".
>
>
> However, the normal win32 threads builds give the correct result.
I've had this happen to me once before, related to using the wrong
cross-compiler. I'll take a look after the 18th of September.
Ruben
>
>
>
------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops? How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more
affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public