<div dir="ltr">cc:'d to devel list for wider distribution<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 4:47 AM, Mario *LigH* Rohkrämer <span dir="ltr"><<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Steve.<br>
<br>
Would you probably like to add a solution with a cmake toolchain for building 64 bit Windows executables in MSYS? Feel free to adapt it to your preferred naming conventions and options, if so.<br>
<br>
<a href="http://forum.videohelp.com/threads/357754-%5BHEVC%5D-x265-EXE-mingw-builds?p=2301183&viewfull=1#post2301183" target="_blank">http://forum.videohelp.com/<u></u>threads/357754-%5BHEVC%5D-<u></u>x265-EXE-mingw-builds?p=<u></u>2301183&viewfull=1#post2301183</a><br>

<br>
To be able to build both, I added a copy of x265/build/msys as x265/build/msys64, so I can simply call "make" in either one after configuring for Win32 in the one and for Win64 in the other.</blockquote><div><br>
</div><div>Thanks Mario.</div><div><br></div><div>I've been making 64bit MinGW builds of x265 since the beginning without any toolchain scripts like that.  You just need a 64bit MSYS and a 64bit MinGW compiler and use the current build/msys folder as-is.</div>
<div><br></div><div>You only need to use a toolchain file when you are cross-compiling from 32bit MSYS to 64bit MSYS.</div><div><br></div><div>Is there a way to robustly query whether your MSYS is 32 or 64bit? It would be good to handle this cleanly in the batch file.</div>
</div><div><br></div>-- <br>Steve Borho
</div></div>