JonY wrote:
> On 9/21/2009 06:42, Erik de Castro Lopo wrote:
> > NightStrike wrote:
> >
> >> Add TARGET_ARCH=i686-w64-mingw32 to your make command line.
> >
> > Shouldn't that be i686-w32-mingw32 or maybe even i686-pc-mingw32?
>
> "w64" is already a vendor key recognized by gcc. It will add support for
> mingw-w64 specific features.
>
> Using "w32" is equivalent to "pc".
Sorry, either you or I are missing something :-).
If I want to build a Linux -> win64 cross compiler I can just use the
default TARGET_ARCH set in the makebuildroot.mk script.
However, if I want to build a Linux -> win32 cross compiler I need to
override the TARGET_ARCH setting. Nightstrike suggested:
i686-w64-mingw32
and I was questioning whether the "w64" component should be replaced
with either "pc" or "w32"?
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public