Source code for MAME uses specific toolchain - mingw-w64

135 views
Skip to first unread message

deadfraggle

unread,
Jun 25, 2011, 2:17:41 PM6/25/11
to android-ndk
I've been looking into compiling MAME (http://mamedev.org) for the
Android platform. Before tinkering with the NDK, I first tried
compiling the code natively on my Vista machine. The only way it
would compile successfully was to use a repackaged mingw toolchain.


"mingw-w64 is the official set compile tools for MAME. It is a
repackaging of the gcc compiler along with the necessary tools, all
ported to Windows. Part of mingw-w64 is an effort to produce Windows-
compatible header files so that you can build executables linked
against standard Windows libraries. This is a very complete solution
for free Windows development, and much lighter weight than the
Microsoft tools."


Will this affect my chances of a successful build with the Android
NDK, or is there a way to incorporate the repackaged toolchain?

Angus Lees

unread,
Jun 26, 2011, 7:59:03 PM6/26/11
to andro...@googlegroups.com
.. I'm not sure what you're asking.  Mingw is a gcc-based toolchain for building windows executables.
The Android NDK is a gcc-based toolchain for building Android binaries.

You obviously won't be able to use mingw to build Android packages, but both toolchains use the same gcc extensions, etc.  Your biggest hurdle will be differences in the platform headers and system libraries, but when I last built mame for Android I don't recall any real problems (other than needing to port the core display, audio and I/O routines, which is to be expected).

 - Gus
Reply all
Reply to author
Forward
0 new messages