What does HackerNews think of Retro68?
a gcc-based cross-compiler for classic 68K and PPC Macintoshes
[1] https://tinkerdifferent.com/threads/study-group-0-getting-yo... [2] https://github.com/autc04/Retro68
And a setup walkthrough: https://henlin.net/2021/12/03/a-simplified-guide-to-developm...
There are some really good Retro68 code examples out there as well. I started compiling a list here, including a couple of my own: https://henlin.net/2021/12/21/Cool-Retro68-projects/
As a few other folks have said, the inside Macintosh books are extremely valuable references for Mac-specific code. I keep pdfs of them open the whole time I’m working on my Macintosh projects.
https://github.com/autc04/Retro68
Also, this guy has a Classic Mac tool sw "runner" a la Wine:
https://github.com/autc04/executor
Forked, that's true, but that's the best Ardi Executor fork by a mile.
I use retro68 on linux, which is a modern GCC toolchain, so it's just like developing any other C/C++ (well, without some nice debugging tools, and with the added complexity of the mac OS resource stuff)
https://github.com/autc04/Retro68
So you can write C++17 for System 6 too, if you want.