------- Comment #5 from nico at josuttis dot de 2010-04-25 07:03 -------
I gues with move.exe you mean my generated exe file.
I have three versions here:
cygcheck for the full buggy program (including vector declaration):
-------------------------------------------------------------------
D:\buecher\libbook2\book\code\cont\try\hello.exe
P:\gcc4\bin\cyggcc_s-sjlj-1.dll
P:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
P:\cygwin\bin\cygstdc++-6.dll
P:\cygwin\bin\cyggcc_s-1.dll
cygcheck for the working program (without vector declaration):
--------------------------------------------------------------
D:\buecher\libbook2\book\code\cont\try\hello.exe
P:\cygwin\bin\cygstdc++-6.dll
P:\cygwin\bin\cyggcc_s-1.dll
P:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
cygcheck for a working program with g++4.4.3(with vector declaration):
----------------------------------------------------------------------
D:\buecher\libbook2\book\code\cont\try\hello.exe
P:\gcc4\bin\cyggcc_s-sjlj-1.dll
P:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
Hmm, looks probably not correct that the cygwin libs are used:
P:\cygwin\bin\cygstdc++-6.dll
P:\cygwin\bin\cyggcc_s-1.dll
which would mean that options such as
--prefix=/cygdrive/p/gcc4
--program-suffix=4
--with-gxx-include-dir=/cygdrive/p/gcc4-include
would not work properly or be enough.
Attached you also get the exe file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43877