[x265] [PATCH RFC V2] manually align the stack for GCC x86_32 builds

Tim Walker tdskywalker at gmail.com
Tue Apr 22 14:35:23 CEST 2014


On 21 Apr 2014, at 23:05, Steve Borho <steve at borho.org> wrote:

> I'm really not familiar with cross-compiling to x86_32 on a 64bit
> linux, never been compelled to try it.  This would be much easier to
> verify on an x86_32 linux machine or on Windows with a Win32 MinGW
> setup (it doesn't matter if Windows is 64bit or not, since Windows
> ships with Win32 compatibility libraries).

Wouldn't it be a matter of specifying i686-w64-mingw32 as the cross prefix (or whatever the cmake equivalent) instead of x86_64-w64-mingw32?

Been a while since I built HandBrake for 32-bit, but it sure used to be that simple. You may need additional mingw-w64 packages to target i686, I always install all the ones I can find out of habit.

Tim


More information about the x265-devel mailing list