From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7389 invoked by alias); 10 Dec 2013 09:26:36 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 7379 invoked by uid 89); 10 Dec 2013 09:26:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f53.google.com Received: from Unknown (HELO mail-la0-f53.google.com) (209.85.215.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 10 Dec 2013 09:26:34 +0000 Received: by mail-la0-f53.google.com with SMTP id mc6so2180040lab.26 for ; Tue, 10 Dec 2013 01:26:25 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.7.67 with SMTP id h3mr7653614laa.29.1386667585279; Tue, 10 Dec 2013 01:26:25 -0800 (PST) Received: by 10.152.87.129 with HTTP; Tue, 10 Dec 2013 01:26:25 -0800 (PST) In-Reply-To: <52A63E9C.40909@codyps.com> References: <65771b86df01ef768aa3.1386017534@blackmint> <52A63E9C.40909@codyps.com> Date: Tue, 10 Dec 2013 09:26:00 -0000 Message-ID: Subject: Re: [PATCH 1 of 1] cc/gcc: Split gcc configurations and functions from cc ones From: Yann Diorcet To: Cody P Schafer Cc: "Yann E. MORIN" , crossgcc Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00015.txt.bz2 Hi, 2013/12/9 Cody P Schafer : > >> --- a/scripts/showSamples.sh Sat Nov 16 18:14:45 2013 +0100 >> +++ b/scripts/showSamples.sh Mon Dec 02 21:51:09 2013 +0100 >> @@ -76,7 +76,7 @@ >> [ -z "${CT_LIBELF}" -a -z "${CT_LIBELF_TARGET}" ] || printf >> " libelf-%s" "${CT_LIBELF_VERSION}" >> [ -z "${complibs}" ] || printf "\n" >> printf " %-*s : %s\n" ${width} "binutils" >> "binutils-${CT_BINUTILS_VERSION}" >> - printf " %-*s : %s" ${width} "C compiler" >> "${CT_CC}-${CT_CC_VERSION} (C" >> + printf " %-*s : %s" ${width} "C compiler" >> "${CT_CC}-${CT_CC_GCC_VERSION} (C" >> [ "${CT_CC_LANG_CXX}" = "y" ] && printf ",C++" >> [ "${CT_CC_LANG_FORTRAN}" = "y" ] && printf ",Fortran" >> [ "${CT_CC_LANG_JAVA}" = "y" ] && printf ",Java" >> @@ -121,7 +121,7 @@ >> fi >> printf "| ${CT_BINUTILS_VERSION} " >> printf "| ''${CT_CC}'' " >> - printf "| ${CT_CC_VERSION} " >> + printf "| ${CT_CC_GCC_VERSION} " >> printf "| ''${CT_LIBC}'' |" >> if [ "${CT_LIBC}" != "none" ]; then >> printf " ${CT_LIBC_VERSION} " >> >> -- > > > From this it looks like > - there isn't a way to get the NAME-VERSION of the configured C compiler There is maybe more that C compiler selected btw. > - You'll be using the GCC version number even if CT_CC isn't gcc. > Indeed not clean. How we can improve that? -- Diorcet Yann -- For unsubscribe information see http://sourceware.org/lists.html#faq