doc,

salamat sa kernel 101 na ito.  although i have no plans to learn kernel programming, 
this small detail is nevertheless important to my linux adventures.

isang hirit na lang doc,  based on ur statements, i think it is safe to say that one 
needs a c library, not specifically the gnu c library in order to compile the kernel 
package.  but during run time the kernel does not depend on any c library.  

>One of the functions of the kernel is to provide system services
>to user space programs.  If you read the file,
>/usr/src/linux/arch/i386/kernel/entry.S, you get an idea of what
>these services are.  These include the usual system calls like
>exit, fork, read, write, open, etc.  A big part of the c library
>is just to provide user space hooks to these kernel space services,
>althought the c library also has library functions that are not
>system calls, but the kernel never uses these.  In fact, the library
>style functions that are not system calls, such as vsprintf and
>other string utilities are provided by the functions in
>/usr/src/linux/arc/i386/lib and /usr/src/linux/lib.  Also, if
>you check /usr/src/linux/Makefile, the kernel "vmlinux" is built
>by linking all the kernel components, but the -lc option to the ld
>command is conspicuously absent, because the c library is not linked
>into the kernel.


__________________________________
www.edsamail.com
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to