[FFmpeg-devel] [PATCH] configure: support MSYS2

Michael Niedermayer michaelni at gmx.at
Sun Jan 25 18:43:54 CET 2015


On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote:
> On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote:
> > On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes <h.leppkes at gmail.com>
> > wrote:
> > 
> > > MSYS2 uses a system name of "MSYS_NT-6.3" instead of "MINGW32_NT-6.3" in
> > > MSYS1.
> > >
> > 
> > Apparently this isn't quite correct, and you have to start MSYS2 with a
> > special batch file that overrides this for you.
> > Just running bash.exe or sh.exe from a DOS prompt results in this and is
> > apparently considered "wrong usage".
> 
> I don't really see anything wrong with this, however I'd rather have
> a compiler-based detection.
> I.e. if the compiler define __MINGW32__ set the host to mingw (unless
> set explicitly).

> This should also address my other annoyance that you have to specify
> --host when it really should be obvious that you are cross-compiling to
> MINGW for example.

i dont use "--host*" for my mingw building
just -cc='ccache x86_64-w64-mingw32-gcc' --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --target_exec=wine

the rest i use should not be mingw specific

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150125/a37bad32/attachment.asc>


More information about the ffmpeg-devel mailing list