[LCP]stdio.h reference

Madhav M. madhav3333 at lycos.com
Mon Jan 7 22:14:06 UTC 2002


Hello,
A beginner's question..
below is a small sample program.

--------sample.c------------------

#include <stdio.h>

int main()
{
 printf("Hello");
}

--------sample.c------------------
I compile above file by
$ cc sample.c

I want to know, how linker reolves the reference for stdio.h. 
I chekced /etc/fstab file and also checked LD_LIBRARY_PATH. But i didnt get the path for stdio.h.
Am I missing something???

Madhav.







More information about the linuxCprogramming mailing list