Rockbox mail archiveSubject: Re: Should the sim compile cleanly in Cygwin using i686-w64-mingw32-gcc?
Re: Should the sim compile cleanly in Cygwin using i686-w64-mingw32-gcc?
From: Rafaël Carré <funman_at_videolan.org>
Date: Mon, 5 Dec 2011 16:07:05 -0500
Le Mon, 05 Dec 2011 19:11:04 +0100,
Magnus Holmgren <magnushol_at_gmail.com> a écrit :
> On 2011-12-05 18:37, Boris Gjenero wrote:
> > Instead, I can cross compile from Cygwin using i686-w64-mingw32-gcc.
> > Is this something that should work, and compile without warnings? If it should
> > be considered unsupported, is there another alternative method that is supposed
> > to work without warnings?
> > There used to be a multiple definition error requiring
> > -Wl,--allow-multiple-definition, but that was fixed in r31147.
> > The only remaining error is FS#12427 due to __attribute__(weak) being different
> > on Windows.
> I build the sim using i686-pc-mingw32-gcc. The Fuze V2 sim builds fine, but
> nano2g fails.
> > Besides that, there are lots of warnings.
> When I tested nano2g, the only warnings I saw before the build stopped were the
> format string ones.
mingw32 and mingw64 are 2 different projects so their runtime (standard
library and headers) differ (and cause different warnings)
"w64" in Boris' toolchain indicates mingw64, the most recent, so less
tested; but with a more active developers community.
-- Rafaël CarréReceived on 2011-12-05