lkml.org 
[lkml]   [1999]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] asm*/resource.h fix for glibc
    Richard Guenther wrote:
    > IF you do user-mode programs which need access to linux-specific header
    > files you should use configure to test, whether the needed feature is in
    > the glibc linux/* headers, and if not you should use a version distributed
    > by _your_ software-package! I.e. you do the cp on your self, sort of a
    > linux_feature_cdrom_dosomeneatstuff_ioctl.h in your source-package.

    I like that solution. It's not small, but it works always.

    > With compiling kernel modules distributed seperately, one should go the
    > way MEC suggested some weeks ago (a directory in the kernel source,
    > where you can drop in the module source and use standard make configure &&
    > make modules).

    That only works if you can find the right kernel source directory!

    Today I was inspired by a new part of Red Hat's boot process. It makes
    a file in /boot containing some kernel parameters.

    Which leads to an obvious thought. How about a Makefile fragment in
    /boot/config.mk that sets the appropriate CFLAGS, CPPFLAGS etc? It's in
    /boot because it reflects the kernel you're booting...

    -- 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:2.391 / U:0.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site