I think it would be possible to build 32 bit libraries with tdm64 if you could pass extra flags to windres. Is there any way to do that with mingw32-make?
Longer version:
Following up on this thread, I was wondering if its possible to make 32bit libraries with tdm64. I tried with the command line:
Code: Select all
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release CXXFLAGS="-std=gnu++11 -m32" CFLAGS=-m32 LDFLAGS=-m32
Code: Select all
i386:x86-64 architecture of input file `gcc_x86_mswudll\basedll_version_rc.o' is incompatible with i386 output
Code: Select all
windres --use-temp-file -i../../src/msw/version.rc -ogcc_x86_mswudll\basedll_version_rc.o <...a bunch of stuff...>
I think if you just added the extra option to windres, it would build the correct object files. But looking at the lines containing "$(WINDRES)" in makefile.gcc, it doesn't look like any of the options are user settable. Am I missing something? Is there a way to pass extra flags to windres similar to the way you can pass extra flags to the compiler and linker?