All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xavier Miller <xavier.miller@cauwe.org>
To: Mark Knecht <markknecht@gmail.com>
Cc: John Kacur <jkacur@redhat.com>, RT <linux-rt-users@vger.kernel.org>
Subject: Re: Best gcc flags?
Date: Sat, 23 Jan 2010 21:11:34 +0100	[thread overview]
Message-ID: <4B5B57F6.3050304@cauwe.org> (raw)
In-Reply-To: <5bdc1c8b1001221458j74d36fdbl3f154f8b539791dd@mail.gmail.com>

Hello,

Don't play with CFLAGS/LDFLAGS. -march=native will let GCC find the best
(and most sable) options for your compiler.
Playing with unsafe CFLAGS/LDFLAGS will produce unstable system, hard to
debug.

Kind regards,
Xavier Miller.

Le 22/01/10 23:58, Mark Knecht a écrit :
> On Fri, Jan 22, 2010 at 2:09 PM, John Kacur <jkacur@redhat.com> wrote:
>> On Fri, Jan 22, 2010 at 7:54 PM, Mark Knecht <markknecht@gmail.com> wrote:
>>> Hi,
>>>   I've got a new Intel Core i5-661 machine that I'm loading Gentoo
>>> on. I wonder if anyone here has any strong opinion son the best gcc
>>> options for this sort of machine and specifically what makes for the
>>> best rt performance?
>>>
>>
>> AFAIK, there are no -rt specific requirements for gcc, just use what you
>> would normally use.
>>
>> John
>>
> 
> Yes that's my understanding also, but this is a brand new machine to
> me, Gentoo based where I can set all my gcc flags pretty easily, and
> for the Core i5-661 I'm not finding much info on what's recommended
> for gcc. -march=native? Or maybe use specific settings such as those
> for an i7?
> 
> I'm just grasping around for ideas mostly.
> 
> Thanks!
> 
> - Mark
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-01-23 20:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22 18:54 Best gcc flags? Mark Knecht
2010-01-22 22:09 ` John Kacur
2010-01-22 22:58   ` Mark Knecht
2010-01-23 20:11     ` Xavier Miller [this message]
2010-01-23 22:27       ` Mark Knecht
2010-01-24 13:45         ` Xavier Miller
2010-01-24 15:36           ` Mark Knecht

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=4B5B57F6.3050304@cauwe.org \
    --to=xavier.miller@cauwe.org \
    --cc=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=markknecht@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.