From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Tue, 18 Jan 2011 10:16:13 +0100 Subject: [U-Boot] [RFC PATCH] ARM: print gcc version In-Reply-To: <20110117222838.66B74D1CAD5@gemini.denx.de> References: <1292863117-3175-1-git-send-email-holler@ahsoftware.de> <20110109210300.B2CD3127@gemini.denx.de> <4D2BB9AC.1040504@ahsoftware.de> <20110117222838.66B74D1CAD5@gemini.denx.de> Message-ID: <4D355A5D.4070804@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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