On Wed, Feb 24, 2016 at 9:29 PM, Mark Geisert wrote:
> Just a guess: your 64-bit windres is generating a 64-bit .res file that the
> 32-bit g++ can't grok. Look at 'windres -h'. There's a "-F" == "--target"
> flag that can specify a target type. I would try adding "-F pe-i386" after
> the "-O c
> Jim Reisert AD1C wrote:
>> I have a 64-bit Cygwin environment. I'm trying to compile a 32-bit
>> (target) Windows program using i686-pc-mingw32-g++
>>
>> # i686-pc-mingw32-g++ -g -Wall -Iinclude -I../../library/include -c
>> -o NPOTAdlg.o NPOTAdlg.cpp
>> # windres -Iinclude res/NPOTAdlg.rc -O cof
Jim Reisert AD1C wrote:
I have a 64-bit Cygwin environment. I'm trying to compile a 32-bit
(target) Windows program using i686-pc-mingw32-g++
# i686-pc-mingw32-g++ -g -Wall -Iinclude -I../../library/include -c
-o NPOTAdlg.o NPOTAdlg.cpp
# windres -Iinclude res/NPOTAdlg.rc -O coff -o res/NPOT
3 matches
Mail list logo