🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6032

gcc - with or without a standard library?

#6032
From: Geoff Rimmer
Date: Sat, 13 May 1989 15:20
33 lines
1829 bytes
In the preface to K&R 2, it states that

	"The [ANSI C] standard ... specifies a standard library, with
	an extensive set of functions for performing input and output,
	memory management, string manipulation, and similar tasks."

In view of this, is the C standard library going to become part of
every ANSI C compiler?  (I am thinking in particular of gcc).

That is to say, will every C compiler that conforms to the standard,
contain all the 15 standard include files (K&R 2, Appendix B) and the
C standard library of functions?

If so, does this mean that there will be two "include" directories?
One for the standard include files, and one for the
implementation-dependent include files?  And will we need two separate
libraries?  (For example, as far as I know, ANSI C is not required to
have the function "opendir".  However, this appears in many C
libraries at present).

Thanks in advance.

Geoff - "C retains the basic philosophy that programmers know what
	 they are doing" - K&R 2

	/---------------------------------------------------------------\
	|	GEOFF RIMMER  - Friend of COCA COLA CLASSIC		|
	|	email	: geoff@uk.ac.warwick.cs			|
	|	address : Computer Science Dept, Warwick University, 	|
	|		  Coventry, England.				|
	|	PHONE	: +44 203 692320  (secretary will take message)	|
	|	FAX	: +44 865 726753				|
	\---------------------------------------------------------------/
Technical Details
Message-ID: <1875@ubu.warwick.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!mcvax!ukc!warwick!geoff

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!mcvax!ukc!warwick!geoff
From: geoff@cs.warwick.ac.uk (Geoff Rimmer)
Newsgroups: comp.std.c,gnu.gcc
Subject: gcc - with or without a standard library?
Message-ID: <1875@ubu.warwick.UUCP>
Date: 13 May 89 15:20:46 GMT
Sender: news@warwick.UUCP
Organization: Computer Science, Warwick University, UK
Lines: 33