How to compile SDL 2.0.4 from source with MinGW-w64 64bit

On SDL download page I see archive with both 32 and 64 mingw libs, so how
you manage to build it(64bit)? In sdl wiki I read about build bot, may be
you can point me build bot system configuration? Thanks in advance!

I suspect buildbot doesn’t use MSYS. Personally I found cross-building SDL
(and a lot of other stuff) much easier than trying to set up anything
resembling a windows-native build environment.

Install mingw-w64 , then it’s just ./configure --host=x86_64-w64-mingw32On Wed, Jan 20, 2016 at 11:40 AM, leanid <leanid.chaika at gmail.com> wrote:

Alexander Sabourenkov wrote:> On Wed, Jan 20, 2016 at 11:40 AM, leanid <@leanid (@leanid)> wrote:

  ??On SDL download page I see archive with both 32 and 64 mingw libs, so how you manage to build it(64bit)? In sdl wiki I read about build bot, may be you can point me build bot system configuration? Thanks in advance!

I suspect buildbot doesn’t use MSYS. Personally I found cross-building SDL (and a lot of other stuff) much easier than trying to set up anything resembling a windows-native build environment.

Install mingw-w64 , then it’s just ./configure --host=x86_64-w64-mingw32

Perfect! !!!