GHC port for Risc OS
James Hobson (3319) 13 posts |
Hello all! I am very excited! Here is screenshot of my progress in porting an iconic compiler to risc os. This has to be the 20th time I’ve sat down and tried to get this to work. I haven’t played with section splitting yet. It’s creating fully static executables. As a result you have to really up the size of the next slot to launch a program! So if anyone knows anything about:
|
James Hobson (3319) 13 posts |
Follow up question. If anyone in Bergen, Norway has a screen they can lend to a broke student for the actual testing, it would be much appreciated! |
Steve Pampling (1551) 8170 posts |
RPCEmu is emulating hardware that can run either 26 or 32. The OS you have installed in the emulated hardware is the decider. RO3.71 is 26 bit env, RO5.27 is 32 bit |
James Hobson (3319) 13 posts |
Ah lovely! I installed it maybe 2 years ago and had just forgotten. The confusion came from looking at preferences and seeing mostly 26bit processors in the list |
Julie Stamp (8365) 474 posts |
Hi James, really nice to see you’re still hacking away at this problem :-) It was fun making a few apps with your jhc one. |
James Hobson (3319) 13 posts |
I will get it working at some point. I’m determined but GHC is a beast. I’ll be diving back into the RTS soon. But Haskell seems like the perfect choice for this platform. It takes far fewer people and lines of code to make libraries. Concurrency is easy without OS threads. Your code is easier to protect from bugs (which on riscos can brick your system!) But to be honest, it’s been fun and useful without success. Much to my surprise, I’ve had to build several GHC cross compilers and port GHC to a new platform. The only reason that those tasks were easy, was from what this fruitless project has taught me! |