Newsgroups: comp.std.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Free-standing vs. hosted implementations
Message-ID: <1988Aug7.005716.7620@utzoo.uucp>
Organization: U of Toronto Zoology
References: <672@sol.warwick.ac.uk>
Date: Sun, 7 Aug 88 00:57:16 GMT

In article <672@sol.warwick.ac.uk> cudat@warwick.ac.uk (J M Hicks) writes:
>Some items in this news group or comp.lang.c have
>alluded to a distinction made in the draft
>ANSI standard for C between "free-standing" and "hosted" implementations of C.
>
>What does this mean? ...

"Hosted" means the sort of environment that people are used to in Unix, with
a library, a file system, etc etc.  "Free-standing" means the sort of thing
which arises when you are writing code to be put into ROM in, say, a micro-
controlled toaster:  no libraries except what you bring with you, no files,
non-standard program startup methods, etc.  The distinction comes up because
X3J11 wants to mandate the availability of things like stdio in hosted
implementations without making it impossible to use ANSI C for programming
a toaster.
-- 
MSDOS is not dead, it just     |     Henry Spencer at U of Toronto Zoology
smells that way.               | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
