This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch mingw]: Add multilib support for i?86-w64-mingw32 target


2009/9/13 Dave Korn <dave.korn.cygwin@googlemail.com>:
> Kai Tietz wrote:
>
>> So I suggest the following patch for config.host
>>
>> Index: gcc/gcc/config.host
>> ===================================================================
>> --- gcc.orig/gcc/config.host ? ?2009-09-13 15:04:47.000000000 +0200
>> +++ gcc/gcc/config.host 2009-09-13 18:21:41.849482600 +0200
>> @@ -202,13 +202,18 @@
>> ? ? ?esac
>> ? ? ?;;
>> ? ?i[34567]86-*-pe | i[34567]86-*-cygwin*)
>> - ? ?use_long_long_for_widest_fast_int=yes
>
> ?Heh, I got this seconds after I sent the one saying 'please revert that
> bit', that's fast work Kai!
>
>> ? ? ?host_xm_file=i386/xm-cygwin.h
>> ? ? ?out_host_hook_obj=host-cygwin.o
>> ? ? ?host_xmake_file="${host_xmake_file} i386/x-cygwin"
>> ? ? ?host_exeext=.exe
>> ? ? ?;;
>> ? ?i[34567]86-*-mingw32* | x86_64-*-mingw*)
>> + ? ?host_xm_file=i386/xm-mingw32.h
>> + ? ?host_xmake_file="${host_xmake_file} i386/x-mingw32"
>> + ? ?host_exeext=.exe
>> + ? ?out_host_hook_obj=host-mingw32.o
>> + ? ?;;
>> + ?x86_64-*-mingw*)
>> ? ? ?use_long_long_for_widest_fast_int=yes
>
> ?Looks like an omission here to me: surely this second case clause won't come
> into play unless you remove the second alternative pattern from the case
> clause above?
>
> ? ?cheers,
> ? ? ?DaveK
>
>

yes, I missed to an patch update. Here is the correct version of it.

Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
Index: gcc/gcc/config.host
===================================================================
--- gcc.orig/gcc/config.host	2009-09-13 15:04:47.000000000 +0200
+++ gcc/gcc/config.host	2009-09-13 18:31:37.072482600 +0200
@@ -202,13 +202,18 @@
     esac
     ;;
   i[34567]86-*-pe | i[34567]86-*-cygwin*)
-    use_long_long_for_widest_fast_int=yes
     host_xm_file=i386/xm-cygwin.h
     out_host_hook_obj=host-cygwin.o
     host_xmake_file="${host_xmake_file} i386/x-cygwin"
     host_exeext=.exe
     ;;
-  i[34567]86-*-mingw32* | x86_64-*-mingw*)
+  i[34567]86-*-mingw32*)
+    host_xm_file=i386/xm-mingw32.h
+    host_xmake_file="${host_xmake_file} i386/x-mingw32"
+    host_exeext=.exe
+    out_host_hook_obj=host-mingw32.o
+    ;;
+  x86_64-*-mingw*)
     use_long_long_for_widest_fast_int=yes
     host_xm_file=i386/xm-mingw32.h
     host_xmake_file="${host_xmake_file} i386/x-mingw32"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]