Talk:Javascript Mess

From Archiveteam
Revision as of 15:27, 5 November 2011 by Devesine (talk | contribs)
Jump to navigation Jump to search

Devesine's Emscripten attempt

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)

current status

compiling, with some help from azakai and some headbanging. http://wizardmode.com/jsmess/logs/%23jsmess.11-04-17-12.log

Still going through - the Debug+Assetions llvm is really slow. Added a few more -Wno-whatevers.

Devesine 15:27, 5 November 2011 (UTC)

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) - `configure --enable-optimized --disable-assertions` should do it
  • 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?