You are not logged in.

#1 2007-11-23 13:24:42

ornitorrincos
Forum Fellow
From: Bilbao, spain
Registered: 2006-11-20
Posts: 198

glibc and kernel headers

I noticed that glibc depends in kernel-headers, and that they are the headers of the 2.6.23.1 kernel and the current kernel is 2.6.23, futhermore, kernel-headers has one directory, for it's headers, and in /usr/src there is another one for another headers, my question is

Must glibc use the headers of the kernel in wich it was compiled?

just curiosity


-$: file /dev/zero
/dev/zero: symbolic link to '/dev/brain'

Offline

#2 2007-11-23 15:44:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,399
Website

Re: glibc and kernel headers

ornitorrincos wrote:

Must glibc use the headers of the kernel in wich it was compiled?

Ideally...  however, up until the headers were provided with the kernel, the sanitized headers package lagged a bit behind the kernel version.  So I guess it is not essential.

Offline

#3 2007-11-23 17:18:52

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: glibc and kernel headers

ornitorrincos wrote:

Must glibc use the headers of the kernel in wich it was compiled?

no.

Offline

#4 2007-11-23 23:56:40

ornitorrincos
Forum Fellow
From: Bilbao, spain
Registered: 2006-11-20
Posts: 198

Re: glibc and kernel headers

thank you, now I can sleep smile


-$: file /dev/zero
/dev/zero: symbolic link to '/dev/brain'

Offline

Board footer

Powered by FluxBB