From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26153 invoked by alias); 5 Oct 2011 21:45:45 -0000 Received: (qmail 26137 invoked by uid 22791); 5 Oct 2011 21:45:41 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp10.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.132) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Oct 2011 21:45:24 +0000 Received: from treguer.localnet ([90.32.247.43]) by mwinf5d33 with ME id h9lN1h0080wutKN039lNFX; Wed, 05 Oct 2011 23:45:23 +0200 X-ME-engine: default From: "Yann E. MORIN" To: Michael Hope Subject: Re: [PATCH] Pass CXXFLAGS to binutils/gold Date: Wed, 05 Oct 2011 21:45:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.0.4-treguer; KDE/4.4.5; x86_64; ; ) Cc: Mike Frysinger , crossgcc@sourceware.org References: <201110042214.47676.vapier@gentoo.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110052345.22429.yann.morin.1998@anciens.enib.fr> Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00006.txt.bz2 Michael, Mike, All, On Wednesday 05 October 2011 23:30:53 Michael Hope wrote: > On Wed, Oct 5, 2011 at 3:14 PM, Mike Frysinger wrote: > > On Tuesday 04 October 2011 21:21:21 Michael Hope wrote: > >> It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC > >> target rules already do the same. > > > > especially because there are flags valid for the C compiler which are not > > valid for the C++ compiler ... > > Yip. There's a good amount of deliberate overlap between the gcc, > g++, and gfortran flags. In crosstool-NG it's currently only used for > -pipe. Yes, it feels icky... But those flags are usually very limited in their use; currently they're used only for '-pipe'. However, with Michael's other patch, it becomes possible for the user to pass arbitrary flags. But the use case is limited, and focuses on generic flags. Eg. disabling SSP or fortify, which is documented in the help entry. In this case, it's pretty much harmless, I guess... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq