Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!ericom!eos.ericsson.se!epames From: epames@eos.ericsson.se (Michael Salmon) Newsgroups: comp.lang.c Subject: Re: Unix and C Message-ID: <1990Nov8.100816.6004@ericsson.se> Date: 8 Nov 90 10:08:16 GMT References: <4458@mint39.UUCP> Sender: news@ericsson.se Reply-To: epames@eos.ericsson.se Organization: Ericsson Telecom AB Lines: 16 In article <4458@mint39.UUCP> gunda@motcid.UUCP (Indira Gunda) writes: >richb@railnet.UUCP (Richard Banks) writes: > >>How can Unix be written in C ? I thought all OS`s had to be written >>in assembly language, else they'd have the same interrupts as the >>OS you booted your complier language under to write the program ? > >Yes ... Why and how can UNIX be written in C? I'd also like to know. > Of course the whole of Unix cannot be written in C but only a small percentage need be written in assembler. The books on Minix and XINU are probably the best place to look to see how it's done. Michael Salmon L.M. Ericsson Stockholm