A little correction...
Il 18/03/2014 12:49, Angelo Graziosi ha scritto:
Just for completeness... the following occurs on Cygwin64 (I don't have
Cygwin32)
After the upgrading to binutils-2.24.51-1 and
mingw64-*-binutils-2.24.0.0.5a026fc-1, rebuilding some my applications
[*], I see this message (and similar for i686-pc-mingw32,
x86_64-w64-mingw32, x86_64-pc-cygwin):
/usr/lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld:
i686-w64-mingw32-bounce.exe: .rsrc merge failure: corrupt .rsrc section
In any case, the executable is created and seems to work.
Reverting the binutils packages to previous version, the message goes
away...
The above occurs for i686-w64-mingw32, x86_64-w64-mingw32,
x86_64-pc-cygwin but NOT for i686-pc-mingw32 whose binutils have not
been upgraded recently...
Ciao,
Angelo.
---
[*] The command line I use is, for example,
windres bounce.rc -O coff -o ../modules/bounce.res && gfortran -Wall
-mwindows -J ../modules ../../src/windows_interface_modules.f90
../../src/windows_dialog_modules.f90 bounce.f90 ../modules/bounce.res -o
bounce.out
or
i686-w64-mingw32-windres bounce.rc -O coff -o ../modules/bounce.res &&
i686-w64-mingw32-gfortran -static -Wall -mwindows -J ../modules
../../src/windows_interface_modules.f90
../../src/windows_dialog_modules.f90 bounce.f90 ../modules/bounce.res -o
i686-w64-mingw32-bounce
but the same happens for i686-pc-mingw32 and x86_64-w64-mingw32.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple