Friday, July 31, 2009

Which all operating systems support C language?

do xenix,unix support C?

Which all operating systems support C language?
All of them





C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.[2] It has since spread to many other platforms. Although C was designed as a system implementation language,[3][4] it is also widely used for applications. C has also greatly influenced many other popular languages,[5] especially C++, which was originally designed as an extension to C.





Despite its low-level capabilities, the language was designed to encourage machine-independent programming. A standards-compliant and portably written C program can be compiled for a very wide variety of computer platforms and operating systems with minimal change to its source code. The language has become available on a very wide range of platforms, from embedded microcontrollers to supercomputers.
Reply:i THINK THE WAY U ASKING QUESTION ,IS NOT CORRECT, ALL OPERATING SYSTEM SUPPORTS DEPENDS ON C -COMPILER
Reply:All operating-systems support C, if they have a C compiler available for them. In fact it would be more relevant to ask which CPU architectures support C because pretty much every O/S has a C compiler. Though almost every well-used CPU has at least once C compiler, so that is just as pointless.





In short, any modern computer will have a C compiler available for it. Probably quite a few C compilers from various vendors, along with open-source versions that are likely to be of a similar quality. Take your pick, they'll all do the same job- give or take how optimised the compiled code is.
Reply:Man, back in the day (Bell Labs, Murray Hill NJ CA 1972) the C programming language and the Unix Operating System were developed together by Ken Thompson, Dennis Ritchie and others. In point of fact after the first version Unix was written and developed in C.





While Microsoft based its OSes (through various strange iterations) on something called CP/M, from DOS 2.0 it has been heavily influenced by Unix and I have no doubt have licensed the whole OS 2 or 3 times over for use in Windows (One can establish at least 4 licenses with Unix Developers, and though one of them is SCO which claims copyrights owned by Novell who are suing Microsoft over Word Perfect it is by no means their only license and calling them pirates in this instance is absurd -- they certainly don't use all the code they license but any code in there is presumably covered by an existing contract).





Further, Steve Jobs is a huge Unix fan and the MacOS follows his NextStep OS in being built on the Berkely Standard Distribution of Unix. Linux has C because it uses the GNU tools which were developed on Unix -- GCC and you can rest assured, if it's derived from Unix, it supports GCC. Unix, Xenix, Linux, Irix, Citrix and the MacOS ALL support C. And C++.
Reply:Your question is phrased incorrectly. There are many diff versions of the C compiler. The o/p of the compiler i.e the executable code is what that determines if the code can be executed from an operating system. Borland %26amp; Turbo C support DOS ans WINDOWS, Solaris C supports Unix and so on.

garden flowers

No comments:

Post a Comment