* [gentoo-dev] Gentoo kernel setup question
@ 2002-09-17 7:17 Henti Smith
2002-09-17 7:44 ` Eric Noack
2002-09-17 8:46 ` [gentoo-dev] " Wilbert Berendsen
0 siblings, 2 replies; 5+ messages in thread
From: Henti Smith @ 2002-09-17 7:17 UTC (permalink / raw
To: gentoo-dev
Hi there :)
Just a quick question regarding the include files for linux kernel on gentoo.
I see as with most distro's there is a header and source install (emerge)
so when I update to the latest source ... does this update the headers as well ?
I'm asking this as I saw that /usr/include/linux and /usr/include/asm is actual directories.
I usually soft link /usr/include/linux to /usr/src/linux/include/linux and /usr/include/asm to /usr/src/linux/include/asm-i386
and since /usr/src/linux is linked to current kernel .. I always have my running kernel headers for everything else ?
Is this a bad way of doing things ...
comments ?
Henti Smith
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Gentoo kernel setup question
2002-09-17 7:17 [gentoo-dev] Gentoo kernel setup question Henti Smith
@ 2002-09-17 7:44 ` Eric Noack
2002-09-17 7:51 ` Henti Smith
2002-09-17 8:46 ` [gentoo-dev] " Wilbert Berendsen
1 sibling, 1 reply; 5+ messages in thread
From: Eric Noack @ 2002-09-17 7:44 UTC (permalink / raw
To: gentoo-dev
Am Tue, 17 Sep 2002 09:17:27 +0200
schrieb Henti Smith <bain@reaper.org>:
> Hi there :)
>
> Just a quick question regarding the include files for linux kernel on gentoo.
>
> I see as with most distro's there is a header and source install (emerge)
> so when I update to the latest source ... does this update the headers as well ?
>
> I'm asking this as I saw that /usr/include/linux and /usr/include/asm is actual directories.
> I usually soft link /usr/include/linux to /usr/src/linux/include/linux and /usr/include/asm to /usr/src/linux/include/asm-i386
> and since /usr/src/linux is linked to current kernel .. I always have my running kernel headers for everything else ?
>
> Is this a bad way of doing things ...
>
> comments ?
>
It actually is a bad way of doing things,
the headers in /usr/include should always keep the same you did compile the important librarys like glibc to.
if you replace this headers and there actually is a change in them you have to re-compile everything that uses that part,
which would be glibc, Xlibs, ..., ...
so its just usual to keep the header version there u used to compile glibc.
Corvus V Corax
> Henti Smith
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Gentoo kernel setup question
2002-09-17 7:44 ` Eric Noack
@ 2002-09-17 7:51 ` Henti Smith
2002-09-18 3:54 ` [gentoo-dev] " Paul
0 siblings, 1 reply; 5+ messages in thread
From: Henti Smith @ 2002-09-17 7:51 UTC (permalink / raw
To: Eric Noack; +Cc: gentoo-dev
> > I'm asking this as I saw that /usr/include/linux and /usr/include/asm is actual directories.
> > I usually soft link /usr/include/linux to /usr/src/linux/include/linux and /usr/include/asm to /usr/src/linux/include/asm-i386
> > and since /usr/src/linux is linked to current kernel .. I always have my running kernel headers for everything else ?
> >
> It actually is a bad way of doing things,
> the headers in /usr/include should always keep the same you did compile the important librarys like glibc to.
So if I update my kernel I have to recompile everything ?
> if you replace this headers and there actually is a change in them you have to re-compile everything that uses that part,
> which would be glibc, Xlibs, ..., ...
ok .. I think I understand .. .
> so its just usual to keep the header version there u used to compile glibc.
recompile .. here I come :))
H
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] Re: Gentoo kernel setup question
2002-09-17 7:51 ` Henti Smith
@ 2002-09-18 3:54 ` Paul
0 siblings, 0 replies; 5+ messages in thread
From: Paul @ 2002-09-18 3:54 UTC (permalink / raw
To: gentoo-dev
Henti Smith <bain@reaper.org>, on Tue Sep 17, 2002 [09:51:59 AM] said:
> So if I update my kernel I have to recompile everything ?
>
> > if you replace this headers and there actually is a change in them you have to re-compile everything that uses that part,
> > which would be glibc, Xlibs, ..., ...
>
> ok .. I think I understand .. .
>
> > so its just usual to keep the header version there u used to compile glibc.
>
> recompile .. here I come :))
>
> H
Hi;
I would consider it a bug if updating a kernel required
recompilation of everything. This has been gone over before--
surely the new kernels headers dont replace the system headers.
Build all the new kernels you want, and
/usr/include/[linux|asm] should stay whatever they were when
glibc was built. If you choose to update the system headers,
then rebuild...
Paul
set@pobox.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Gentoo kernel setup question
2002-09-17 7:17 [gentoo-dev] Gentoo kernel setup question Henti Smith
2002-09-17 7:44 ` Eric Noack
@ 2002-09-17 8:46 ` Wilbert Berendsen
1 sibling, 0 replies; 5+ messages in thread
From: Wilbert Berendsen @ 2002-09-17 8:46 UTC (permalink / raw
To: gentoo-dev
Op dinsdag 17 september 2002 09:17, schreef Henti Smith:
> Hi there :)
>
> Just a quick question regarding the include files for linux kernel on
> gentoo.
>
> I see as with most distro's there is a header and source install (emerge)
> so when I update to the latest source ... does this update the headers as
> well ?
>
> I'm asking this as I saw that /usr/include/linux and /usr/include/asm is
> actual directories. I usually soft link /usr/include/linux to
> /usr/src/linux/include/linux and /usr/include/asm to
> /usr/src/linux/include/asm-i386 and since /usr/src/linux is linked to
> current kernel .. I always have my running kernel headers for everything
> else ?
>
> Is this a bad way of doing things ...
>
> comments ?
According to Linus (dont have a link handy right now) /usr/include/linux and
asm should'nt be symlinked anymore, but just contain the headers that were
used there when compiling glibc.
Bye,
Wilbert
--
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
!! Please help ending Death-by-Stoning Sentences
!! http://www.mertonai.org/amina/OpenLetter.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-09-18 3:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-17 7:17 [gentoo-dev] Gentoo kernel setup question Henti Smith
2002-09-17 7:44 ` Eric Noack
2002-09-17 7:51 ` Henti Smith
2002-09-18 3:54 ` [gentoo-dev] " Paul
2002-09-17 8:46 ` [gentoo-dev] " Wilbert Berendsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox