[PATCH 1 of 1] cc/gcc: Split gcc configurations and functions from cc ones

Cody P Schafer dev@codyps.com
Mon Dec 9 22:06:00 GMT 2013


> --- 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



More information about the crossgcc mailing list