From: Alexander Holler <holler@ahsoftware.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH] ARM: print gcc version
Date: Tue, 18 Jan 2011 10:16:13 +0100 [thread overview]
Message-ID: <4D355A5D.4070804@ahsoftware.de> (raw)
In-Reply-To: <20110117222838.66B74D1CAD5@gemini.denx.de>
Hello,
Am 17.01.2011 23:28, schrieb Wolfgang Denk:
>> Anyway, I would found it a nice feature, at startup or when running the
>> version command, but both aren't a must.
>
> I think it would be a really useful extension to the version command.
> Looking forwad to seeing your patch.
Maybe if someone could feed me with what to use for the version. E.g. my
gcc here defines __VERSION__ as "4.5.2" but when I'm looking at
u-boot/lib/asm-offsets.s I see
.ident "GCC: (Gentoo 4.5.2 p1.0, pie-0.4.5) 4.5.2"
So I would like to display that which would be in line with the comment
section of generated binaries.
But when I use "gcc -E -dM empty.c" to print all predefined macros, I
don't see the text found in .ident. Not even something else which
includes "Gentoo".
Regards,
Alexander
next prev parent reply other threads:[~2011-01-18 9:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 16:38 [U-Boot] [RFC PATCH] ARM: print gcc version Alexander Holler
2011-01-09 21:03 ` Wolfgang Denk
2011-01-11 2:00 ` Alexander Holler
2011-01-17 22:28 ` Wolfgang Denk
2011-01-18 9:16 ` Alexander Holler [this message]
2011-01-18 16:20 ` Peter Tyser
2011-01-18 17:04 ` Alexander Holler
2011-01-18 19:53 ` Wolfgang Denk
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=4D355A5D.4070804@ahsoftware.de \
--to=holler@ahsoftware.de \
--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 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.