{"id":121,"date":"2009-04-13T23:09:46","date_gmt":"2009-04-14T07:09:46","guid":{"rendered":"http:\/\/www.pagetable.com\/?p=121"},"modified":"2009-04-13T23:09:46","modified_gmt":"2009-04-14T07:09:46","slug":"bringup-heritage-of-mac-os-x","status":"publish","type":"post","link":"https:\/\/www.pagetable.com\/?p=121","title":{"rendered":"Bringup History of Mac OS X"},"content":{"rendered":"<p>The heritage of different operating systems has been discussed many times. Mac OS X includes code from Mach and BSD, AmigaOS is based on TRIPOS, MS-DOS is a CP\/M-86 clone and Windows NT is modeled after VMS. But what machines and operating systems were used for cross-compilation and bringup of these systems? In order to find this out about Mac OS X, I talked to a few people working at NEXT and Apple, and people that worked on Mach and BSD.<\/p>\n<p>Currently, Apple only ships Intel-based machines. Mac OS X for Intel was released in 2006. The Intel version had been &#8220;leading a secret double life&#8221; since 2000, i.e. Mac OS X existed for Intel all the time, but was not released. In that time, Mac OS X was never self-hosting; instead, it was cross-compiled on PowerPC Macs. The first released version of Intel Mac OS X was a version of 10.4 for the Pentium 4 based &#8220;Developer Transition Kit&#8221; in 2005.<\/p>\n<p>The first version of what would later be Mac OS X was &#8220;Rhapsody DR1&#8221; released in 1997. It ran on PowerPC 604 Macintoshes (the 603 was not supported because it lacked a hardware pagetable walker) and was cross-compiled from OpenStep 4.2 running on Intel Pentium II CPUs. Rhapsody, which was basically OpenStep 5.0, also continued to run on Intel, but as mentioned before, Intel became a second-class architecture. Actually, somewhere between Rhapsody and OS X 10.0, there was a time when the GUI was not built for Intel.<\/p>\n<p>Nextstep 3.1 from 1993 was the first version of Nextstep\/OpenStep to support Intel CPUs (and also PA-RISC and SPARC) next to the existing Motorola 68K support. Bringup was done on a 25 MHz 68040 NeXTstation running NextStep 2.1, and the target CPU was a 486DX50.<\/p>\n<p>At NEXT, the systems used for bringup of the original 68030 NeXT Computer were Sun machines running SunOS 3.0, a BSD-derivative. The NEXT engineers ported the Mach 2.0 kernel from VAX to M68K. So this port was not only cross-architecture, but cross-OS.<\/p>\n<p>Mach 1.0 was first written for VAX and was brought up on VAX-based 4.2BSD machines at Carnegie-Mellon University. Coincidently, 4.2BSD evolved into SunOS 1.0 (and 4.2BSD\/VAX machines were used for its bringup), and the BSD codebase also ended up in Nextstep.<\/p>\n<p>Now that we arrived at BSD, we could go back the history of UNIX, which I am not going to do at this point.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"330\" src=\"docs\/osx_bringup\/osx_bringup.png\" border=\"1\"><\/p>\n<p>So, to summarize, BSD\/VAX was used to develop Mach\/VAX, and SunOS\/M68K was used to port Mach to 68K, Nextstep\/68K was used to port itself to i386, and the i386 version to port itself to PowerPC, and then the PowerPC version to maintain the i386 version. Today, Mac OS X for Intel is self-hosting again.<\/p>\n<p>Now I would love to see is the same kind of bringup history for Linux (Minix, &#8230;), AmigaOS (SunOS 1.x, &#8230;), BeOS, Copland (Mac OS?), Windows NT (VMS? DOS?), OS\/2 (DOS? AIX?), MS-DOS (CP\/M?), and of course the common bringup ancestors of so many systems, BSD and UNIX. It would also be interesting to extend this information with the respective compilers used. So if you can contribute something in the comments here or on your blogs, that would be great.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The heritage of different operating systems has been discussed many times. Mac OS X includes code from Mach and BSD, AmigaOS is based on TRIPOS, MS-DOS is a CP\/M-86 clone and Windows NT is modeled after VMS. But what machines and operating systems were used for cross-compilation and bringup of these systems? In order to &#8230; <a title=\"Bringup History of Mac OS X\" class=\"read-more\" href=\"https:\/\/www.pagetable.com\/?p=121\" aria-label=\"Read more about Bringup History of Mac OS X\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,22],"tags":[],"class_list":["post-121","post","type-post","status-publish","format-standard","hentry","category-apple","category-archeology","category-operating-systems"],"_links":{"self":[{"href":"https:\/\/www.pagetable.com\/index.php?rest_route=\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pagetable.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pagetable.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pagetable.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pagetable.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121"}],"version-history":[{"count":0,"href":"https:\/\/www.pagetable.com\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pagetable.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pagetable.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pagetable.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}