Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!umich!bushido!dbc From: dbc@bushido.uucp (Dave Caswell) Newsgroups: comp.lang.c Subject: Re: Unix and C Message-ID: <1990Nov10.124655.797@bushido.uucp> Date: 10 Nov 90 12:46:55 GMT References: <4458@mint39.UUCP> Organization: Bushido Systems of Ann Arbor, Michigan. Lines: 15 .>>>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. .> .>Why? Because it makes it very portable. Any machine that has a C .>compiler and a few kernal routines (actually a fair number) can run Unix .>fairly easily. If Unix were written in assembly, it would have to be .>completely rewritten for every new computer it runs on. Unless of course it was written in 386 assembler. It's portable. -- David Caswell dbc%bushido.uucp@umich.edu