If anyone has a practical experience, please advise me.
I am a Mac user for past 20 years, and at the moment I am trying to build some modern open-source software to run on my G5 Quad under 10.6 PPC. Most of it does build (I use Macports for that). However some fail, including software that I would really want to have on it (for example, RStudio and one or the other implementation of Stan).
The problem seems to be two-fold: 1) gcc8 and later fail to build on 10.5.8 and 10.6 PowerPC with Bus errors, no solution found so far (and no recent clang builds); 2) Xcode 3.2 does not support some modern features (for instance I get errors with ibtool and XIBs).
Then I tried to build a cross-compiler on an Intel Mac with Catalina and Xcode 12.4 that could compile PowerPC code against 10.5 and 10.6 SDKs (XcodeLegacy project makes that possible in principle). That ran into some errors which are of unclear nature.
So I start considering alternatives, and an immediate one seems to be FreeBSD which supports PPC and PPC64 and has some similarities with OSX (for which reason I prefer it over any Linux). Could this possibly work?
P. S. While I might as well just have FreeBSD as a second system for using required scientific software like R with Stan, this is a fallback option, since some software that I also use does not exist for Unix at all (think of Adobe). Rebooting from one to another is certainly doable, but inconvenient.
I am a Mac user for past 20 years, and at the moment I am trying to build some modern open-source software to run on my G5 Quad under 10.6 PPC. Most of it does build (I use Macports for that). However some fail, including software that I would really want to have on it (for example, RStudio and one or the other implementation of Stan).
The problem seems to be two-fold: 1) gcc8 and later fail to build on 10.5.8 and 10.6 PowerPC with Bus errors, no solution found so far (and no recent clang builds); 2) Xcode 3.2 does not support some modern features (for instance I get errors with ibtool and XIBs).
Then I tried to build a cross-compiler on an Intel Mac with Catalina and Xcode 12.4 that could compile PowerPC code against 10.5 and 10.6 SDKs (XcodeLegacy project makes that possible in principle). That ran into some errors which are of unclear nature.
So I start considering alternatives, and an immediate one seems to be FreeBSD which supports PPC and PPC64 and has some similarities with OSX (for which reason I prefer it over any Linux). Could this possibly work?
P. S. While I might as well just have FreeBSD as a second system for using required scientific software like R with Stan, this is a fallback option, since some software that I also use does not exist for Unix at all (think of Adobe). Rebooting from one to another is certainly doable, but inconvenient.