From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56929 invoked by alias); 13 Feb 2017 08:20:22 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 56914 invoked by uid 89); 13 Feb 2017 08:20:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=nano, HX-Envelope-From:sk:vinsche, H*F:U*vinschen, H*r:sk:newlib@ X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Feb 2017 08:20:19 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 70CE98046D for ; Mon, 13 Feb 2017 08:20:19 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-116-38.ams2.redhat.com [10.36.116.38]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v1D8KILq017895 for ; Mon, 13 Feb 2017 03:20:19 -0500 Received: by calimero.vinschen.de (Postfix, from userid 500) id 97A78A804A5; Mon, 13 Feb 2017 09:20:17 +0100 (CET) Date: Mon, 13 Feb 2017 08:20:00 -0000 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH, newlib/ARM] Fix cpp invocation for C++ in nano spec Message-ID: <20170213082017.GB25240@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <9a09dd05-1a47-bb27-b47b-3ea8d03f3a35@foss.arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline In-Reply-To: <9a09dd05-1a47-bb27-b47b-3ea8d03f3a35@foss.arm.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2017/txt/msg00140.txt.bz2 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 660 On Feb 7 16:58, Thomas Preudhomme wrote: > Hi, >=20 > The changes in c028685518a261f6d0dab0d7ed15f9570ab9b3d0 to use > newlib-nano's include directory work for cc1 but not cc1plus. cc1plus > comes with its own cpp spec which does not have a name attached to it. >=20 > This patch uses the renaming trick on cpp_options instead of cpp, as > cpp_options is used both by cc1 and cc1plus. >=20 >=20 > Tested with a small C program including string.h. Preprocess annotations > show that both when using -x c and -x c++ newlib'nano's newlib.h gets > chosen. >=20 > Is this ok for master? Pushed. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --l76fUT7nc3MelDdI Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYoWxBAAoJEPU2Bp2uRE+g+p8P/3swt79EriIerWTBp4zlzytF +04V+oRnNaDamPI/Vwu8Dzqh8q9UDoWV5zRT2abaS/sd5kUNo8eN3jpfbmALToXE a+hjEA2sd999PBmnXdFi9O2GJkb3BO/uNaegA/fEUH/uxRrBoaRbI+qgKpHeUBLl Mr91eX+1Wm/+WW90dWVDQFrx6GsNNvmx50o0ymih689GljjsldfQKGE4MUn0ymsp cJ2F/laJQiEsfBHDPlbonrZFSitnwAlekwGTvlHG9EvjzIyVIx5t6z3PsZdkRlqv oUOIS3K0RoW7ceY4EteagnZewlKylYCSDtol2nv31c5BkEzjkX2r+BfUCdw8b7HY Gq/wcc2HWx+IdJGiPDYJqDBCpx+sPFlpIrGlPsiNPcUm9EARmkt90+ZOi1Xf5Ato JUTvHQpkga7lSKlj4raIIaVumqrIWLvbWD+yfK6zLriX4tw4d0oQI0Y8CQ8JY16E 5bE7ICOGg04ZXYHWXpEqNoYwoqoAgUDMSHCzoVwjI1OsLK4i8DiYyiSGQpmOnMfH NU3nb6MXTQi3pamKOEMhPkSYiPSMcHpq8TF9tSCdGn4Mrf0NznBua1kYfwsntuFc z79TYNP5sYr+LGceR8ubS3rb7FVwLuZkNM701lBWYB6gcTPWUFazKOdu+vlh93uA Gv8MREQrBIQwaIC8DnFK =8N+e -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI--