And we're done! Switching to lld
has brought the build time down from 3.75 hours to about 1.75. I pretty much blinked and the linking was done!
For anyone trying to compile #MAME 0.279 from source: There are two bugs in the upstream release that prevent MAME from compiling. It's just two files with some #include
lines in the wrong order. The commits to fix them (not by me) are here:
https://github.com/mamedev/mame/commit/95f7d841988286de21c03f48bfcce45b1aed7bc6
https://github.com/mamedev/mame/commit/95f7d841988286de21c03f48bfcce45b1aed7bc6
I've included them in the #HaikuOS port, which should be available in HaikuDepot in the next few days.
So here's MAME on Haiku, running an emulated #Psion Series 3a.