Op 31-mei-2013 05:58 schreef "zhangxinghai" <[email protected]> het
volgende:
>
> 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
It is better to use the same host as build with MSYS, no need confusing the
build script into crosscompiling when you're not... Really.
For make, you need to check the makefile and the build documentation to see
what is possible.
Ruben
>
>
>
>
>
------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public