So, I built glfw, libgl4es and raylib against the now renamed clib2 (now clib4)
I can cross compile from docker a small test program. It sort of worked and sort of didn't. This is the bog standard raylib hello world window. It comes up nicely, I'm off looking at other things for maybe 10 minutes. Come back, click the window to focus it (I had other windows in front) and it just froze the system. I rebooted and just ran it without letting it sit there for 10 minutes and it was fine.
I hit escape and the command line program ended but left the window there. Ignore that last bit. I was missing a CloseWindow() statement.
OK, so I figured I'd look at another example that I had which plays some audio. This is code on OS4 I don't have it on my laptop. I modified the Makefile to tell it to use clib4, tried to build it and gcc just tells me I've specified an invalid C runtime.
I guess this is my lack of experience here. I am searching the internet and not just assuming others will give me the answer, but how do I use this new clib4? I have run the installer for clib4 from github.
One last edit: Found the answer:
https://github.com/AmigaLabs/adtools
Edited by MartinW on 2024/4/15 23:47:01
Edited by MartinW on 2024/4/15 23:48:02
Edited by MartinW on 2024/4/15 23:52:13
Edited by MartinW on 2024/4/16 0:11:29