[lkml]   [2001]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] reiserfs patch for linux-2.4.2
    On Wed, 28 Feb 2001 20:27:33 +0100, 
    Christoph Hellwig <> wrote:
    >Urgg. limits.h is a userlevel header...
    >The attached patch will make similar atempts fail (but not this one as
    >there is also a limits.h in gcc's include dir).
    >--- linux-2.4.0/Makefile Mon Dec 25 19:21:14 2000
    >+GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne 's/install: \(.*\)/\1include/gp')
    >+CPPFLAGS := -D__KERNEL__ -nostdinc -I$(HPATH) -I$(GCCINCDIR)

    cc: trimmed to l-k.

    CPPFLAGS apply to the kernel compiler which can be a cross compiler but
    you are extracting data from the host gcc. What exactly are you trying
    to do here? Are you trying to prevent the use of user space includes
    or are you trying to pick up the cross compiler includes?

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:28    [W:0.023 / U:26.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site