lkml.org 
[lkml]   [1999]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] asm*/resource.h fix for glibc
Adam Heath wrote:
> On Thu, 16 Dec 1999, Jamie Lokier wrote:
>
> > Adam Heath wrote:
> > > -I$HOME/path/to/my/special/kernel/include
> >
> > And that path on a package I distribute that's compiled on /your/
> > machine is what, exactly?
>
> Use configure. Add a note to the readme(make KSRC=/path/to/foo/include).
>
> How often do you compile other programs and not have to modify some system
> dependant setting?

Almost always. It's either `make', `./configure; make', or `gcc -o foo
foo.c'. I can't remember the last time I had to use a system dependent
setting for the build process. (Configuration is a different matter).

In this case `./configure' wouldn't be enough because, well, where are
your kernel header files? OTOH it would work much of the time to check
that <linux/version.h> and <linux/config.h> match the running kernel
version, in either /usr/include/linux or /usr/src/linux/include/linux.

A bit of a pain for those one C source file distributions though.

> Are you saying all systems are alike? Where's the fun in that?

I like to keep things easy for the folks who use my software.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:1.831 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site