Retro: CodeWarrior Console Multiplatform

Subscribers:
374
Published on ● Video Link: https://www.youtube.com/watch?v=uFzq1SBg7ic



Duration: 1:45
813 views
8


Quick demostration of how a single PowerMac G4 (A dual 1Ghz QS2002 in this case) could be used to develop, cross compile, debug and run a project targeting 4 platforms.

Classic is targeting pre Mac OS X (Ie. Mac OS 7-9), The classic environment available between Mac OS X 10.0 and 10.4 run the full Mac OS 9 system inside a virtual machine, it modified some functionality of Mac OS 9 however so the system was rootless etc.

Carbon - This was the result of Apple transforming the classic API into something that was compliant with preemptive multitasking, products using Carbon could run on both Mac OS 9 and Mac OS X (Although certain features was unavailable on the older system of course; The intention was to bring Mac OS 9 applications to Mac OS X of course) but it greatly reduced the efforts needed to port a Mac OS 9 application to Mac OS X.

Mach-O - This was the native file format used on Mac OS X, in this example it uses regular system calls for printf etc (which is why it has to be run in the command line)

Windows - CodeWarrior Pro 9 was the last version to ship with x86 compilers, Ironically Metrowerks (or rather Freescale/Motorola that purchased Metrowerks) sold off the x86 compilers just a few months before Apple revealed the switch to x86.
Freescale's interest in Codewarrior was of course the other compilers for embedded purposes- The Mac OS version of Codewarrior only shipped with PPC, 68k (Not available in Pro 9) and x86 compilers, but the product had compilers for pretty much any imaginable CPU and was commonly used for professional game development (Nintendo and Sony consoles in particular) to embedded systems, more info here https://en.wikipedia.org/wiki/CodeWarrior

What's quite depressing is how this IDE from the early 2000s is way way faster to compile than most modern development environments...