Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about kernel headers and Glibc provided headers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1233

PostPosted: Fri Jun 21, 2024 8:09 pm    Post subject: Question about kernel headers and Glibc provided headers Reply with quote

Hi guys, I have a question. As some know I am actually working on my package manager. I have a technical question.

I saw that the linux kernel provide some common headers as the glibc package. Which one should be used in priority normally ?
_________________
My actual project: https://github.com/Fulgurance/ISM

Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5109
Location: Bavaria

PostPosted: Fri Jun 21, 2024 9:34 pm    Post subject: Re: Question about kernel headers and Glibc provided headers Reply with quote

Fulgurance wrote:
Hi guys, I have a question. As some know I am actually working on my package manager. I have a technical question.

I saw that the linux kernel provide some common headers as the glibc package. Which one should be used in priority normally ?

You mean the package "linux-headers" ... ?

It is said that you can/should use always the newest one (you will get with ~amd64): https://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_should_be_used.3F

The same information is in our Wiki: https://wiki.gentoo.org/wiki/Linux-headers
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1699
Location: South America

PostPosted: Sat Jun 22, 2024 12:30 am    Post subject: Re: Question about kernel headers and Glibc provided headers Reply with quote

Fulgurance wrote:
I saw that the linux kernel provide some common headers as the glibc package. Which one should be used in priority normally ?

I'm not aware of any overlap between kernel headers used for building userspace packages (which Gentoo packages as sys-kernel/linux-headers) and libc headers. Do you have an example?
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum