Build Your Own Arcade Controls Forum
Main => Software Forum => Linux => Topic started by: b4nd1t0 on February 16, 2017, 09:51:46 am
-
I have installed the Ubuntu bash for windows10, and i want to compile some versions of mame for linux.
Someone has tried and succeeded in compiling in this environment?
-
There are things you can do with cross-compile chains and whatnot, but it's honestly too complex to be worth your time (and I say that as someone who uses Linux for a living, and is even typing this from his work Linux desktop).
A far easier method is running Linux in a VM (VirtualBox is free and easy to use), and compiling things from there.
If you're still interested, google "Linux cross compile", and follow the guides there. They're all fairly generic, and cover compiling on one architecture for another (for example, you can compile quickly on a powerful x86 machine and create binaries and libraries that will work on a low-power ARM computer like a Raspberry Pi). I'm not even sure if the version of Ubuntu's userspace for Windows ships the cross compile tools, but that'll be an adventure in itself for you to dig into.
-
MAME's build system does not support cross-compiling in that environment at this time. (We do support the other direction, building Windows MAME on Linux).
-
Hello guys, I can confirm that the compilation from bash in windows 10 is possible, I made many tests with success, just install all required software. Compiled successfully groovymame, hbmame and wolfmame with several patches. :cheers: