Page 2 of 2
Re: Building on modern macos/xcode versions
Posted: Thu Nov 30, 2023 7:59 am
by sharpenedblade
The docs for older spidermonkey versions got lost somewhere along the way, so I gave up on porting it. It needs someone with a lot more C/C++ experience. Now I'm trying to build with macos 10.14 in a VM, but im busy with life so im going get back to it over the weekend. I need to make a new macos VM since I accidentally deleted the old one.
Also, it took me ~30 minutes to get spidermonkey to build on linux, windows, and macos, so I dont think thats a problem anymore. Most of the time was just waiting for deps to download.
Re: Building on modern macos/xcode versions
Posted: Wed Jul 23, 2025 7:09 am
by Cholmondely
sharpenedblade wrote: ↑Thu Nov 30, 2023 7:59 am
The docs for older spidermonkey versions got lost somewhere along the way, so I gave up on porting it. It needs someone with a lot more C/C++ experience. Now I'm trying to build with macos 10.14 in a VM, but im busy with life so im going get back to it over the weekend. I need to make a new macos VM since I accidentally deleted the old one.
Also, it took me ~30 minutes to get spidermonkey to build on linux, windows, and macos, so I dont think thats a problem anymore. Most of the time was just waiting for deps to download.
Did it work? Did the OXPs work with it?
And are you still playing on an AppleMac?
Re: Building on modern macos/xcode versions
Posted: Wed Jul 23, 2025 7:12 am
by sharpenedblade
It failed miserably, when compiling clang segfaulted for some reason. I didn't even want to try to figure out what happened since its definitely something deep in the internals of how clang parses legacy code. Also I installed linux on my mac so I don't even have modern macos to test anymore.
Re: Building on modern macos/xcode versions
Posted: Wed Jul 23, 2025 12:41 pm
by Cholmondely
sharpenedblade wrote: ↑Wed Jul 23, 2025 7:12 am
... I installed linux on my mac so I don't even have modern macos to test anymore.
Which version of Linux did you install? Was it difficult?
Hiran was good enough to talk me through installing Ubuntu on mine (running on top of VirtualBox), but it never operated very satisfactorily - Oolite was only playable in a tiny window and stuttered horrendously.
Re: Building on modern macos/xcode versions
Posted: Wed Jul 23, 2025 8:31 pm
by sharpenedblade
Which version of Linux did you install?
Fedora on bare metal. I have a t2 (2018-2020 intel) mac so it needed a
patched kernel and stuff, but after installing it works the same as a normal linux install. I think using a normal distro works on older intel macs without any patches, you can just download the ISO and install.
It should be pretty easy now, you just press a few buttons in the gui partitioning screen and everything mostly just works. Disclaimer: I maintain t2linux support for Fedora.
Hiran was good enough to talk me through installing Ubuntu on mine (running on top of VirtualBox), but it never operated very satisfactorily - Oolite was only playable in a tiny window and stuttered horrendously.
VMs usually don't have graphics acceleration, so any gui stuff is really slow. There are some hacky methods to get opengl acceleration in qemu, but they don't work on macos hosts. On my install thats running on real hardware it works fine and I haven't noticed any lag, even with a lot of OXPs.