OSDN Git Service

Changlog libcpp
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Sep 2009 13:08:20 +0000 (13:08 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Sep 2009 13:08:20 +0000 (13:08 +0000)
2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

* configure.ac: Set for i?86-w64-mingw*
need_64bit_hwint to yes.
* configure: Regenerated.

ChangeLog gcc

2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

* config.gcc (tm_file): Remove i386/biarch32.h
for i?86-w64-mingw* case.
(i?86-*-mingw* andx86_64-*-mingw*): Add multilib
support.
* config.host: Set for cygwin and x86/x64 mingw the
option use_long_long_for_widest_fast_int to yes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151672 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config.host
libcpp/ChangeLog
libcpp/configure
libcpp/configure.ac

index a2016ed..11f9b28 100644 (file)
@@ -1,3 +1,12 @@
+2009-09-13  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config.gcc (tm_file): Remove i386/biarch32.h
+       for i?86-w64-mingw* case.
+       (i?86-*-mingw* andx86_64-*-mingw*): Add multilib
+       support.
+       * config.host: Set for cygwin and x86/x64 mingw the
+       option use_long_long_for_widest_fast_int to yes.
+
 2009-09-13  Eric Botcazou  <ebotcazou@adacore.com>
 
        * tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
 2009-09-13  Eric Botcazou  <ebotcazou@adacore.com>
 
        * tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
index 0e3d52b..0002563 100644 (file)
@@ -373,12 +373,6 @@ then
 fi
 
 case ${target} in
 fi
 
 case ${target} in
-i[34567]86-w64-*)
-       tm_file="i386/biarch32.h ${tm_file}"
-       ;;
-esac
-
-case ${target} in
 i[34567]86-*-*)
        if test "x$enable_cld" = xyes; then
                tm_defines="${tm_defines} USE_IX86_CLD=1"
 i[34567]86-*-*)
        if test "x$enable_cld" = xyes; then
                tm_defines="${tm_defines} USE_IX86_CLD=1"
@@ -1319,11 +1313,35 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*)
 i[34567]86-*-mingw* | x86_64-*-mingw*)
        tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
        xm_file=i386/xm-mingw32.h
 i[34567]86-*-mingw* | x86_64-*-mingw*)
        tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
        xm_file=i386/xm-mingw32.h
+       case ${target} in
+               x86_64-*-* | *-w64-*)
+                       need_64bit_hwint=yes
+                       ;;
+               *)
+                       ;;
+       esac
        # This makes the logic if mingw's or the w64 feature set has to be used
        case ${target} in
                *-w64-*)
                        tm_file="${tm_file} i386/mingw-w64.h"
                        tmake_file="${tmake_file} i386/t-mingw-w64"
        # This makes the logic if mingw's or the w64 feature set has to be used
        case ${target} in
                *-w64-*)
                        tm_file="${tm_file} i386/mingw-w64.h"
                        tmake_file="${tmake_file} i386/t-mingw-w64"
+                       if test x$enable_targets = xall; then
+                               tm_defines="${tm_defines} TARGET_BI_ARCH=1"
+                               case X"${with_cpu}" in
+                               Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+                                       ;;
+                               X)
+                                       if test x$with_cpu_64 = x; then
+                                               with_cpu_64=generic
+                                       fi
+                                       ;;
+                               *)
+                                       echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
+                                       echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2
+                                       exit 1
+                                       ;;
+                               esac
+                       fi
                        ;;
                *)
                        tmake_file="${tmake_file} i386/t-mingw32"
                        ;;
                *)
                        tmake_file="${tmake_file} i386/t-mingw32"
index a8ec324..83c6509 100644 (file)
@@ -202,12 +202,14 @@ case ${host} in
     esac
     ;;
   i[34567]86-*-pe | i[34567]86-*-cygwin*)
     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*)
     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*)
+    use_long_long_for_widest_fast_int=yes
     host_xm_file=i386/xm-mingw32.h
     host_xmake_file="${host_xmake_file} i386/x-mingw32"
     host_exeext=.exe
     host_xm_file=i386/xm-mingw32.h
     host_xmake_file="${host_xmake_file} i386/x-mingw32"
     host_exeext=.exe
index 0331063..5d27822 100644 (file)
@@ -1,3 +1,9 @@
+2009-09-13  Kai Tietz  <kai.tietz@onevision.com>
+
+       * configure.ac: Set for i?86-w64-mingw*
+       need_64bit_hwint to yes.
+       * configure: Regenerated.
+
 2009-09-10  Jason Merrill  <jason@redhat.com>
 
        * directives.c (cpp_define): constify.
 2009-09-10  Jason Merrill  <jason@redhat.com>
 
        * directives.c (cpp_define): constify.
index 80249e7..eaf99dd 100755 (executable)
@@ -6876,6 +6876,7 @@ case $target in
        hppa*64*-*-* | \
        i[34567]86-*-darwin* | \
        i[34567]86-*-solaris2.1[0-9]* | \
        hppa*64*-*-* | \
        i[34567]86-*-darwin* | \
        i[34567]86-*-solaris2.1[0-9]* | \
+       i[34567]86-w64-mingw* | \
        mips*-*-* | \
        mmix-*-* | \
        powerpc*-*-* | \
        mips*-*-* | \
        mmix-*-* | \
        powerpc*-*-* | \
index 3af4e16..5246546 100644 (file)
@@ -146,6 +146,7 @@ case $target in
        hppa*64*-*-* | \
        i[34567]86-*-darwin* | \
        i[34567]86-*-solaris2.1[0-9]* | \
        hppa*64*-*-* | \
        i[34567]86-*-darwin* | \
        i[34567]86-*-solaris2.1[0-9]* | \
+       i[34567]86-w64-mingw* | \
        mips*-*-* | \
        mmix-*-* | \
        powerpc*-*-* | \
        mips*-*-* | \
        mmix-*-* | \
        powerpc*-*-* | \