zhangxinghai
2013-05-31 03:57:15 UTC
hello
I try to build 32-bit wx2.9.4 with tdm-gcc.
My os:windows xp (32bit) 5.1.2600
I download tdm-gcc from
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-4.7.1-3.exe/download
I cd wx\build\msw directory and invoke command
../../configure --build=x86_64-w64-mingw32 --host=i686-w64-mingw32 --enable-shared --disable-debug
--disable-monolithic --enable-unicode CXXFLAGS="-pipe -m32 fno-keep-inline-dllexport -Os"
LDFLAGS=-m32 CFLAGS=-m32
I get the error
ld.exe: i386:x86-64 architecture of input file `basedll_version_rc.o' is incompatible
with i386 output
Where is wrong?
Another question is if I use mingw32-make,how do I specify --build,--host and --target parameter,such as
replace --enable-unicode with UNICODE=1
Thanks
I try to build 32-bit wx2.9.4 with tdm-gcc.
My os:windows xp (32bit) 5.1.2600
I download tdm-gcc from
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-4.7.1-3.exe/download
I cd wx\build\msw directory and invoke command
../../configure --build=x86_64-w64-mingw32 --host=i686-w64-mingw32 --enable-shared --disable-debug
--disable-monolithic --enable-unicode CXXFLAGS="-pipe -m32 fno-keep-inline-dllexport -Os"
LDFLAGS=-m32 CFLAGS=-m32
I get the error
ld.exe: i386:x86-64 architecture of input file `basedll_version_rc.o' is incompatible
with i386 output
Where is wrong?
Another question is if I use mingw32-make,how do I specify --build,--host and --target parameter,such as
replace --enable-unicode with UNICODE=1
Thanks