Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N5hKi-0004W9-F8 for mharc-grub-devel@gnu.org; Wed, 04 Nov 2009 09:59:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5hKg-0004VE-1K for grub-devel@gnu.org; Wed, 04 Nov 2009 09:59:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5hKb-0004Sp-6Z for grub-devel@gnu.org; Wed, 04 Nov 2009 09:59:33 -0500 Received: from [199.232.76.173] (port=45689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5hKb-0004Si-1K for grub-devel@gnu.org; Wed, 04 Nov 2009 09:59:29 -0500 Received: from hel.is.scarlet.be ([193.74.71.26]:57661) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5hKa-0004bx-EL for grub-devel@gnu.org; Wed, 04 Nov 2009 09:59:28 -0500 Received: from webmail.scarlet.be (gresham.is.scarlet.be [193.74.71.215]) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id nA4ExNAV007887 for ; Wed, 4 Nov 2009 15:59:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=scarlet.be; s=scarlet; t=1257346764; bh=kg9MS4v58uoP7sqviw/uJbg7jISblSr9REqggajkrck=; h=MIME-Version:Date:From:To:Subject:In-Reply-To:References: Message-ID:Content-Transfer-Encoding:Content-Type; b=Arc/S9MEsTEbCllRQmPXTdjKXuXPb70ADh8QiKZzN3NayyF4iMpnYXGYqOmqwwTcO S5VZwuK/ajFZwuN+vtetVpJbQ4Ljh73SJXwf0yb1V7XfgrKA38wknAgmQLdc05vdLV F3rPsKK7LjdBal82b+ogwPlJraWND+B18t5XICmA= MIME-Version: 1.0 Received: from 57-67-177-38.mastercard.com [57.67.177.38] with HTTP/1.1 (POST); Wed, 04 Nov 2009 15:59:23 +0100 Date: Wed, 04 Nov 2009 15:59:23 +0100 From: rubisher To: The development of GRUB 2 In-Reply-To: <1257332849.5000.54.camel@fz.local> References: <1251463992.2547.24.camel@fz.local> <20090828162828.GB14976@thorin> <1251482319.2547.48.camel@fz.local> <20090828235514.GA17856@thorin> <1251532275.2624.2.camel@fz.local> <1257089982.3407.1.camel@fz.local> <20091101220443.GA10713@thorin> <1257152083.3220.0.camel@fz.local> <3dcabc6941f94354cfb8f8ba8422a07d@scarlet.be> <1257244422.3366.2.camel@fz.local> <9780cc18280c05eadda3ae88117390eb@scarlet.be> <1257257373.3366.3.camel@fz.local> <1257332849.5000.54.camel@fz.local> Message-ID: X-Sender: rubisher@scarlet.be User-Agent: Scarlet Webmail Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-DCC-scarlet.be-Metrics: hel 20001; Body=1 Fuz1=1 Fuz2=1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATH] grub-mkrelpath X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2009 14:59:34 -0000 On Wed, 04 Nov 2009 12:07:29 +0100, Felix Zielcke wrote: > Am Mittwoch, den 04.11.2009, 10:55 +0100 schrieb rubisher: > >> > Right trunk contains my -I($srcdir)/include fix. >> > merged now. >> Sorry I don't agree with your fix: > > As you might have thought already from the following sentence, I already > suspected that it's not the proper way. > Yes ;<) > By the way this topic really belongs to the -nostdinc Thread from > Robert. > This is not at all specific to my grub-mkrelpath. > At least this fixed building with a seperate build directory. > Ok. >> >> >> > But I still have the feeling using -isystem is wrong at all or at least >> > the =. >> Well as far as I understand, yes for cross-compiling that would make >> stuff >> easier? >> >> A quick look at linux kernel build, it shows that also use -isystem but >> not yet with '=' option so may be my previous patch would be more >> relevant. >> >> I let you appreciate. > > IMO we should use the same approach as Linux kernel does. Using -isystem > just for the gcc include headers. > I don't think gcc should treat our own headers as system headers. > I would love to make many test to better understand all aspect of those options, ... may be latter ;<) >> Tx, >> J. >> >> PS: any idea where (in which part of this proj) should I have a look to >> learn why ofs doesn't reach to find disks and their structures?) >> > > No clue. > Better ask such questions in a seperate mail, not hidden in a thread > which has nothing to do with this. The chances are much higer that then > who can answer the qestion will read it. I will try to do so, tx. btw I just find a small typo in your branch: --- ./util/grub-mkconfig_lib.in.orig 2009-11-04 10:34:27.000000000 +0000 +++ ./util/grub-mkconfig_lib.in 2009-11-04 10:42:01.000000000 +0000 @@ -32,7 +32,7 @@ make_system_path_relative_to_its_root () { - path = "`grub-mkrelpath $1`" + path="`grub-mkrelpath $1`" case "`uname 2>/dev/null`" in CYGWIN*) === <> === Tx again, J.