Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: new USE="win32" flag for mingw and prefix/windows support
Date: Thu, 21 Apr 2016 00:19:23
Message-Id: 9F3E1EB9-01AA-4964-BFAB-104C3944ACD4@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: new USE="win32" flag for mingw and prefix/windows support by Andrew Udvare
1 > On Apr 20, 2016, at 6:51 PM, Andrew Udvare <audvare@×××××.com> wrote:
2 >
3 >> On 20/04/16 12:58, Ian Stakenvicius wrote:
4 >> On 20/04/16 03:41 PM, Anthony G. Basile wrote:
5 >>>> According to 'file' the binary format is actually "PE32 executable
6 >>>> (console) Intel 80386, for MS Windows" for a random *.exe file in my
7 >>>> /usr/i686-w64-mingw32/usr/bin
8 >
9 > That is because Mingw is for making native executables for Windows, not
10 > ELF files.
11
12 I believe blueness' point here was that with Windows 10's support of ELF, one might be able to build a say, winapi toolkit gtk+:3 directly in Linux without needing a mingw cross-toolchain. That is, linking this back to the original point, it's best to not mix up the meaning of this use flag with the executable file format.