Talk:Javascript Mess

From Archiveteam
Revision as of 04:49, 5 November 2011 by Devesine (talk | contribs) (→‎Emscripten attempt: new section)
Jump to navigation Jump to search

Shouldn't prevent anyone else from doing so as well, but I'm going to give the whole "whang it into Emscripten and see what explodes" thing a shot over the next few days. Devesine 15:39, 3 November 2011 (UTC)

Emscripten attempt

Useful tips:

  • Make sure you grab a fresh copy of llvm, clang, v8 (I'm not using spidermonkey yet) to point emscripten at
  • Build a non-debug version of llvm+clang - it will probably save a *lot* of time (there are a lot of files to compile)
  • Build v8 by doing `scons d8` - using console=readline (or possibly snapshot=on or visibility=default) seems to break emscripten's compilation ability
  • You will need to build MAME/MESS natively, to have access to the tools ( cp mess-native/obj/osdmini/mess/build/* mess/obj/osdmini/mess/build )
  • There are an awful lot of warnings that need to be made into non-errors to compile successfully - maybe some of them are indicitive of bugs in MAME/MESS?