linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* relationship between standard C and gcc compiler suite?
@ 2005-08-03 13:47 Robert P. J. Day
  2005-08-03 17:12 ` Steve Graegert
  2005-08-04 11:06 ` Glynn Clements
  0 siblings, 2 replies; 5+ messages in thread
From: Robert P. J. Day @ 2005-08-03 13:47 UTC (permalink / raw)
  To: C programming list


  according to my 5th ed. of H&S, C99 introduced the unsigned integer
type "_Bool" and refers to the corresponding header file stdbool.h.
but on my linux system, that header file is not in the standard
/usr/include directory, where i would have expected it.

  rather, it's included with gcc-4.0.1, and it's in this directory:

/usr/lib/gcc/i386-redhat-linux/4.0.1/include

i'm sure the end result is the same in that i can just

  #include <stdbool.h>

 but is there some kind of overall rationale as to what "standard"
header files would actually be supplied by gcc itself?  just trying to
figure out the pattern here.  obviously, this question generalizes to
more than just asking about the boolean file.

rday

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-04 11:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03 13:47 relationship between standard C and gcc compiler suite? Robert P. J. Day
2005-08-03 17:12 ` Steve Graegert
2005-08-03 17:22   ` Robert P. J. Day
2005-08-03 17:31     ` Steve Graegert
2005-08-04 11:06 ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).