Yes, if the _whole_ tool-chain is really multi-arch enabled. 
I already saw some gcc-based toolchain builds targeting Windows
where actually only some of the tools were.

And, unfortunately, the command line parameters are inconsistent
among the tools.

I use:
 * "-m32" or "-m64" for gcc (which is likely just a shortcut for some 
-march=XXX),
 * "--target=pe-x86-64" or "--target=pe-i386" for windres
 *  "-m;i386:x86-64;-f;--64" or "-m;i386;-f;--32" for dlltool

Hope this helps,
Martin



Dne 12. 4. 2016 v 20:58 Julien Darthenay napsal(a):
> Hello,
> 
> I try to build either a 64-bit program or a 32-bit with the same compiler.
> It seems with "gcc" correct options could be, respectively, 
> "-march=x86-64" and "-march=athlon-xp". But I am unable to find the 
> options to use with "windres" to build the resource object file. Are 
> there any "windres" option to use to target 64-bit and 32-bit ?
> 
> Regards,
> 
> Julien Darthenay
> 
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> 

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to