From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26848 invoked by alias); 9 Dec 2013 22:06:30 -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 26824 invoked by uid 89); 9 Dec 2013 22:06:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f42.google.com Received: from Unknown (HELO mail-yh0-f42.google.com) (209.85.213.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 09 Dec 2013 22:06:26 +0000 Received: by mail-yh0-f42.google.com with SMTP id z6so3267228yhz.29 for ; Mon, 09 Dec 2013 14:06:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=nA5TjwupT4UJbO7PLaJlzq7DWbOCZ2zBZ7OrY+tM1B8=; b=c+xkbYyKJOvc2QdojZpDpExUtgv+y+BJ2PF+aR4X6tWE5p8hjl+UwEuEeLUoAZFacA kh0CLqJScVt/I2AfU7YuBhdBl7yHwR/pkOuNQv8iFfgsxEmwGwwncxVoIk92mfbig2F9 tZnjZ3rPjhg4yaIEr++VnRZdNgdxhI0djhmuNMnozUiFOeFFqrcf8l+mVWgqOuDOMfG/ ZxpH1l3KLWQST8NR7+ZcvjWrnYeZX/k2B5IcyNKNI/qZt2ZyxzzqXE6H+6iVranrdZMH 2yXAu+DVye9G0NegsrKLgEWDColNeE+ISn+ltfzFhzaSdvTSLu/a/T+/E0wvLug9LVLD ukIA== X-Gm-Message-State: ALoCoQngQQ+GsFTcGbIHOVHN2t0B2V2W/0jIjya8RCVPKUVadPKhlZHDrxiiPgeNSpAyBb+jtS61 X-Received: by 10.236.173.164 with SMTP id v24mr131256yhl.155.1386626777651; Mon, 09 Dec 2013 14:06:17 -0800 (PST) Received: from [192.168.123.135] (c-71-236-220-78.hsd1.wa.comcast.net. [71.236.220.78]) by mx.google.com with ESMTPSA id b30sm19056484yhm.5.2013.12.09.14.06.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Dec 2013 14:06:16 -0800 (PST) Message-ID: <52A63E9C.40909@codyps.com> Date: Mon, 09 Dec 2013 22:06:00 -0000 From: Cody P Schafer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Yann Diorcet , "Yann E. MORIN" CC: crossgcc@sourceware.org Subject: Re: [PATCH 1 of 1] cc/gcc: Split gcc configurations and functions from cc ones References: <65771b86df01ef768aa3.1386017534@blackmint> In-Reply-To: <65771b86df01ef768aa3.1386017534@blackmint> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-12/txt/msg00014.txt.bz2 > --- 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 - You'll be using the GCC version number even if CT_CC isn't gcc. -- For unsubscribe information see http://sourceware.org/lists.html#faq