Common header files between C compiler and C library

J

junky_fellow

Are there any header files that are common to C compiler and
Standard C library ? C complier code would need some header files
during its compilation. Does the C library also uses some of
these header files ?
 
L

Lawrence Kirby

Are there any header files that are common to C compiler and
Standard C library ?

It is up to each individual compiler as to how it is implemented, a C
compiler doesn't even have to be written in C so the simple answer to your
question is no. Of course many C compilers are written in C or C with
extensions.
C complier code would need some header files
during its compilation. Does the C library also uses some of
these header files ?

It is up to the individual compiler writers as to what if any standard C
headers they use in the compiler source.

Lawrence
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top