Re: MAC68K_MEMSIZE option

David Riley <[email protected]> Wed, 10 Mar 2021 22:37:33 -0500
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
On Mar 10, 2021, at 3:21 PM, Hauke Fath <[email protected]> wrote:
> 
> On Wed, 10 Mar 2021 16:21:27 +0000 (UTC), John Klos wrote:
>> Is anyone here familiar with the tooling needed for building Booter
>> in Mac OS? I'd like to set something up. I finally found my copy of
>> THINK C that I bought decades ago, in case it can be used.
> 
> I think the last versions of the Booter were built with CodeWarrior,
> which has the downside that project files are generally incompatible
> between versions. Make sure you have the matching one.
> 
> Alternatively, you can build with MPW (available on ftp.apple.com
> mirrors for free), which is slower, and wants to be run off a RAM disk.
> Feel free to ask any questions if you decide to go that way.
> 
> There are at least two cross build systems for "traditional" Mac
> applications, the gcc based <https://github.com/autc04/Retro68> and the
> MPW based <https://github.com/ksherlock/mpw> /
> <http://wanderingcoder.net/2015/01/30/mpw-on-mac-os-x/>. I have tried
> neither for lack of round tuits, but they sound intriguing.
> 
> I always meant to import the Booter sources to CVS... don't know how
> feasible that still is. You would tunnel through MacSSH (last updated
> 2010), which may or may not use encryption algorithms still acceptable
> to current OpenSSH. Plus, with transition to Mercurial on the horizon,
> there is no VCS client on the Mac.

If anyone needs CodeWarrior, Pro 6 (only runs on PPC, but will target 68k) can be found with some light searching. Pro 5, which will run on 68k, is something I have floating around as an installed product, but I have lost the discs. However, I will vouch that it runs just fine under Classic on 10.4 on a G5, including 10.4 Server if you have Classic transplanted.  MPW runs fine under Classic as well, AFAIK.  You will get a lot more build oomph out of a G5 running Classic than any 68k machine, and you can run Classic applications via AppleScript (not that long ago, I did manage to run a CodeWarrior and XCode parallel build on 10.4 with a Jenkins agent, though I would not advise same now).

This provides a bridge to Git and Mercurial, though if Mercurial deals with resource forks the same way Git does (to wit: it does not) you need to do some magic to preserve/restore the resource forks and Finder metadata through 10.4's extended attribute support, which I have a script for from the same project.


- Dave
signature.asc (application/pgp-signature, 873 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEoFUTelel5qzxrPN/jAqMHr39+X8FAmBJkH0ACgkQjAqMHr39
+X9K+RAAskSq9BoNbt/qaesAvq/uHKs4houv5CxT1WbJU5r2Nb5X9ELVMFKJN5bV
h1o4QKvrWEPNfqIQEpXUdnUR6kLsP2Lme6kCBmRpetPenGdmDvQTmYeTwKw7Iei2
/lqp2Kvko8SPRGQyqVZpjM1I5Wx2p3VM3cS2qzW8ARtiWFjMHlbcqZq6fQOug4Xc
vfn/Z75eAvLykkRIA6/Z6OzZJ7Nb0B3C1xlSRtNrckOlrsY2mdvL3JlnlpMa2Pg4
4+UFOPhtOe88MLptvCV/JrGEDkjzJgFiBXWVxfcIGocTBodRYb3t/KSyoGLrl1tI
5veKZEZtOUt0jMF5RIV6Le3z0uOHt9vy14vWjITyzoE4O96DDeU2l45+iD1s6BIO
bNJ1sbutSQypJoR6FtPElTSagEiqSsvI7Q6kvWTcyXX0/BtYskOyOAhm2G8qVxHQ
Hhuwze77Ig3nRsIN/xY1X+JUQEF+Y6AqNCpgqzHLtqZD6jRJT1cGBhMu1i/M/CrQ
6qw2mWARRpgHUABpkxbiSq+V3iNTG5ft8W08YILpO8ChF2bXiDPwwJ53CR6qtwj7
1sNqKb4XWwJ4UB+UqQNzQiVHy50kRB5TJKUhOV163Uo4mpRTugjA8LeWCbKIfGty
u1FqVsr/VYN1uhEb44g1vcGWyatoIe2rVrEfvXxHWU7R2ZtIT5c=
=qx0/
-----END PGP SIGNATURE-----