public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: Michael Hope <michael.hope@linaro.org>
Cc: Mike Frysinger <vapier@gentoo.org>, crossgcc@sourceware.org
Subject: Re: [PATCH] Pass CXXFLAGS to binutils/gold
Date: Wed, 05 Oct 2011 21:45:00 -0000	[thread overview]
Message-ID: <201110052345.22429.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <CANLjY-kbZES-8GKPAADiDfjZqMxUDi_nPg2oheYj7drEJxF+-A@mail.gmail.com>

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 <vapier@gentoo.org> 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

  reply	other threads:[~2011-10-05 21:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05  1:21 Michael Hope
2011-10-05  2:15 ` Mike Frysinger
2011-10-05 21:31   ` Michael Hope
2011-10-05 21:45     ` Yann E. MORIN [this message]
2011-10-06  3:07       ` Michael Hope
2011-10-05 21:58 ` Yann E. MORIN

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=201110052345.22429.yann.morin.1998@anciens.enib.fr \
    --to=yann.morin.1998@anciens.enib.fr \
    --cc=crossgcc@sourceware.org \
    --cc=michael.hope@linaro.org \
    --cc=vapier@gentoo.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).