From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LgklV-0006LX-7F for mharc-grub-devel@gnu.org; Mon, 09 Mar 2009 15:03:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgklU-0006Jo-8b for grub-devel@gnu.org; Mon, 09 Mar 2009 15:03:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgklT-0006H2-1i for grub-devel@gnu.org; Mon, 09 Mar 2009 15:03:51 -0400 Received: from [199.232.76.173] (port=34213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgklS-0006Gj-SD for grub-devel@gnu.org; Mon, 09 Mar 2009 15:03:50 -0400 Received: from barmail1.idig.net ([64.34.111.254]:36808) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgklS-0000OZ-EQ for grub-devel@gnu.org; Mon, 09 Mar 2009 15:03:50 -0400 Received: from nweb1.idig.net (nweb1.idig.net [216.187.70.70]) by barmail1.idig.net (Spam Firewall) with ESMTP id B44A9216945F for ; Mon, 9 Mar 2009 12:03:46 -0700 (PDT) Received: from nweb1.idig.net (nweb1.idig.net [216.187.70.70]) by barmail1.idig.net with ESMTP id FySplvcAQ9APh4KU for ; Mon, 09 Mar 2009 12:03:46 -0700 (PDT) Received: from s0106001c109f79db.gv.shawcable.net ([24.108.102.77] helo=[192.168.1.101]) by nweb1.idig.net with esmtpa (Exim 4.69) (envelope-from ) id 1LgklN-0001My-Vt for grub-devel@gnu.org; Mon, 09 Mar 2009 12:03:46 -0700 Message-ID: <49B567F2.3080903@lacqui.com> Date: Mon, 09 Mar 2009 12:03:14 -0700 From: Kevin Lacquement User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: The development of GRUB 2 References: <49ADF2ED.3060102@lacqui.com> <87zlfxd1no.fsf@xs4all.nl> <49B5471E.4060007@lacqui.com> <1236622187.3486.1.camel@fz.local> In-Reply-To: <1236622187.3486.1.camel@fz.local> X-Enigmail-Version: 0.95.7 OpenPGP: id=5282A213 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBD6DA31F814BD180DFF2D8B6" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - nweb1.idig.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lacqui.com X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Subject: Re: Parser 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: Mon, 09 Mar 2009 19:03:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBD6DA31F814BD180DFF2D8B6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Felix Zielcke wrote: > Am Montag, den 09.03.2009, 09:43 -0700 schrieb Kevin Lacquement: >=20 >> Alternatively, is there a clean, portable way to make the C compiler >> think that the grub headers are actually the system headers? Or >> possibly to replace the system header calls in the generated C code? >> (Using sed or something similar) >> >=20 > gcc has -nostdinc to remove the standard search paths for the includes.= >=20 > http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Preprocessor-Options.html#P= reprocessor-Options >=20 If we do that, though, we'll still need to create wrapper headers for the headers that flex #includes. Also, does grub depend on gcc, or will it work with other C compilers? I'd like to avoid adding a dependency on a specific compiler if the dep doesn't already exist. --=20 Sic non confunctus, non reficiat. --------------enigBD6DA31F814BD180DFF2D8B6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm1Z/cACgkQASQ0HFKCohNzjACfQzK+rX2ffOBOhDajvAPU4928 9dEAoIIfA5WkR6ubMJtlqoIaZ4l+kB8O =kWb9 -----END PGP SIGNATURE----- --------------enigBD6DA31F814BD180DFF2D8B6--