public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options
Date: Wed, 20 Feb 2008 20:28:06 +0100	[thread overview]
Message-ID: <20080220202806.1af92b8b@siona> (raw)
In-Reply-To: <000501c873ea$745d6b40$c3031c0a@atmel.com>

On Wed, 20 Feb 2008 18:58:27 +0100
"Ulf Samuelsson" <ulf@atmel.com> wrote:

> Looks OK to me, but I never used "call cc-option".

cc-option will try to run the compiler with the option. If the compiler
didn't complain, it evaluates to the option. If it failed, it evaluates
to nothing.

Very useful if you want to introduce new compiler options without
breaking compatibility with old or weird compilers. The Linux build
system uses it all over the place -- I suspect we could prevent quite a
few toolchain incompatibilies by using it more extensively in u-boot as
well.

Of course, it won't help you if the compiler misbehaves in other ways
than just refusing to accept the option.

Haavard

  reply	other threads:[~2008-02-20 19:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18  9:20 [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options Peter Pearse
2008-02-18 11:33 ` Haavard Skinnemoen
2008-02-18 12:19   ` Wolfgang Denk
2008-02-18 23:04 ` Ulf Samuelsson
2008-02-19 12:36   ` Wolfgang Denk
2008-02-20  6:33     ` Ulf Samuelsson
2008-02-20  9:55       ` Haavard Skinnemoen
2008-02-20 17:58         ` Ulf Samuelsson
2008-02-20 19:28           ` Haavard Skinnemoen [this message]
     [not found] <011a01c87359$34cbbc70$050514ac@atmel.com>
2008-02-20  9:25 ` Peter Pearse
2008-02-20 17:42   ` Ulf Samuelsson

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=20080220202806.1af92b8b@siona \
    --to=hskinnemoen@atmel.com \
    --cc=u-boot@lists.denx.de \
    /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