linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* kernel source rpm
@ 2000-10-28 19:36 Michael Norton
  2000-10-30  9:08 ` Timothy A. Seufert
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Norton @ 2000-10-28 19:36 UTC (permalink / raw)
  To: linuxppc-dev


hi,

I am working on an application which requires the header file <linux/limits.h>.
Which file do I need to rpm from the LinuxPPC 2000 CD-Rom to install kernel source?

thanks,

Mike


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel source rpm
  2000-10-28 19:36 kernel source rpm Michael Norton
@ 2000-10-30  9:08 ` Timothy A. Seufert
  2000-10-30  9:33   ` Martin Costabel
  0 siblings, 1 reply; 4+ messages in thread
From: Timothy A. Seufert @ 2000-10-30  9:08 UTC (permalink / raw)
  To: Michael Norton, linuxppc-dev


At 12:36 PM -0700 10/28/00, Michael Norton wrote:
>hi,
>
>I am working on an application which requires the header file
><linux/limits.h>.
>Which file do I need to rpm from the LinuxPPC 2000 CD-Rom to install kernel
>source?

Don't do that.  Kernel header files are not intended to be directly
#include'd into user applications.  Use the the GNU C and/or C++
libraries and headers like you're supposed to, and you will not
depend on kernel files at all.

   Tim Seufert

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel source rpm
  2000-10-30  9:08 ` Timothy A. Seufert
@ 2000-10-30  9:33   ` Martin Costabel
  2000-10-30 10:16     ` Ethan Benson
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Costabel @ 2000-10-30  9:33 UTC (permalink / raw)
  To: Timothy A. Seufert; +Cc: Michael Norton, linuxppc-dev


"Timothy A. Seufert" wrote:
>
> At 12:36 PM -0700 10/28/00, Michael Norton wrote:
> >hi,
> >
> >I am working on an application which requires the header file
> ><linux/limits.h>.
> >Which file do I need to rpm from the LinuxPPC 2000 CD-Rom to install kernel
> >source?
>
> Don't do that.  Kernel header files are not intended to be directly
> #include'd into user applications.  Use the the GNU C and/or C++
> libraries and headers like you're supposed to, and you will not
> depend on kernel files at all.

This is correct in the Linus-approved True Linux Userspace (tm). Problem
is that on RedHat based systems like linuxppc, glibc doesn't contain
/usr/include/linux except as a symlink to /usr/src/linux/include/linux.
So you need either kernel sources from some archive or the
"kernel-headers" RPM.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel source rpm
  2000-10-30  9:33   ` Martin Costabel
@ 2000-10-30 10:16     ` Ethan Benson
  0 siblings, 0 replies; 4+ messages in thread
From: Ethan Benson @ 2000-10-30 10:16 UTC (permalink / raw)
  To: Martin Costabel; +Cc: Timothy A. Seufert, Michael Norton, linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

On Mon, Oct 30, 2000 at 10:33:00AM +0100, Martin Costabel wrote:

> > Don't do that.  Kernel header files are not intended to be directly
> > #include'd into user applications.  Use the the GNU C and/or C++
> > libraries and headers like you're supposed to, and you will not
> > depend on kernel files at all.
> 
> This is correct in the Linus-approved True Linux Userspace (tm). Problem
> is that on RedHat based systems like linuxppc, glibc doesn't contain
> /usr/include/linux except as a symlink to /usr/src/linux/include/linux.
> So you need either kernel sources from some archive or the
> "kernel-headers" RPM.

or Debian GNU/Linux

/me ducks

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

[-- Attachment #2: Type: application/pgp-signature, Size: 0 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-30 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-28 19:36 kernel source rpm Michael Norton
2000-10-30  9:08 ` Timothy A. Seufert
2000-10-30  9:33   ` Martin Costabel
2000-10-30 10:16     ` Ethan Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).