lkml.org 
[lkml]   [2001]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: build -->/usr/src/linux

* $ from lk@tantalophile.demon.co.uk at "10-Apr: 4:08pm" | sed "1,$s/^/* /"
*
*
* richard offer wrote:
* > uname does not always provide useful information (cross compiling). Even
* > if you're building the same ISA, you maybe in a chroot'ed environment.
* >
* > Can we please not assume that everybody only ever builds native...
*
* Nobody is assuming that. If you're hard enough to do a cross compile,
* you can build external modules using "make KERNEL_RELEASE=2.4.2
* KERNEL_SOURCE=/home/jamie/cross_compiling/kernel ARCH=mips64" or
* whatever.

Applications make that assumption all the time.

Yes, this is the kernel mail list, but applications use kernel services. By
tacitly agreeing that you get the kernel headers from /lib/modules/`uname
-r`/build/include that's what people will code into their makefiles.

Saying "oh, but applications should do that" isn't much of a argument, as there
isn't a better way of working out where a set of kernel headers are.

And "oh but applications should be using /usr/include/" doesn't cut it. There
are times when you really do need to be able to build things outside of the
kernel tree that are kernel specific.

*
* -- Jamie
*

richard.


-----------------------------------------------------------------------
Richard Offer Technical Lead, Trust Technology.
"Specialization is for insects"
__________________________________________http://reality.sgi.com/offer/

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

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