[Cogl] [PATCH] mingw: Try adding a -w64 suffix when searching for a suitable compiler

Robert Bragg robert at sixbynine.org
Fri Mar 21 10:36:43 PDT 2014


This looks good to land to me:

Reviewed-by: Robert Bragg <robert.bragg at intel.com>

thanks,
Robert


On Fri, Mar 21, 2014 at 5:31 PM, Neil Roberts <neil at linux.intel.com> wrote:
> On 64-bit fedora the 32-bit MinGW compiler is called
> i686-w64-mingw32-gcc which wasn't being picked up by the
> mingw-fetch-depdencies script.
> ---
>  build/mingw/mingw-fetch-dependencies.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh
> index 6544bfe..30e2ac7 100755
> --- a/build/mingw/mingw-fetch-dependencies.sh
> +++ b/build/mingw/mingw-fetch-dependencies.sh
> @@ -153,7 +153,7 @@ function find_compiler ()
>      local gccbin fullpath;
>
>      if [ -z "$MINGW_TOOL_PREFIX" ]; then
> -       for gccbin in i{3,4,5,6}86{-pc,}-mingw32{,msvc}-gcc; do
> +       for gccbin in i{3,4,5,6}86{-pc,-w64,}-mingw32{,msvc}-gcc; do
>             fullpath="`which $gccbin 2>/dev/null`";
>             if [ "$?" -eq 0 ]; then
>                 MINGW_TOOL_PREFIX="${fullpath%%gcc}";
> --
> 1.8.5.3
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list