The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Christoph Hellwig <hch@ns.caldera.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] reiserfs patch for linux-2.4.2
Date: Thu, 01 Mar 2001 11:01:59 +1100	[thread overview]
Message-ID: <20472.983404919@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Wed, 28 Feb 2001 20:27:33 BST." <20010228202733.A18073@caldera.de>

On Wed, 28 Feb 2001 20:27:33 +0100, 
Christoph Hellwig <hch@ns.caldera.de> 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
>-CPPFLAGS := -D__KERNEL__ -I$(HPATH)
>+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?


  reply	other threads:[~2001-03-01  1:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-28 19:21 [PATCH] reiserfs patch for linux-2.4.2 Alexander Zarochentcev
2001-02-28 19:27 ` Christoph Hellwig
2001-03-01  0:01   ` Keith Owens [this message]
2001-03-01  0:05     ` Christoph Hellwig
2001-03-01  3:16   ` Albert D. Cahalan
2001-03-01  8:18     ` Christoph Hellwig
2001-03-02  0:35       ` Albert D. Cahalan
2001-03-01  0:39 ` Erik Mouw
2001-03-01 10:36   ` [reiserfs-dev] " Alexander Zarochentcev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20472.983404919@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=hch@ns.caldera.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox