mirror of git://gcc.gnu.org/git/gcc.git
config.build: Add support for cygwin x64 target.
* config.build: Add support for cygwin x64 target.
* config.gcc: Likewise.
* config.host: Likewise.
* configure.ac: Likewise
* configure: Regenerated.
From-SVN: r197171
This commit is contained in:
parent
8fecb5614a
commit
b802ae5c6f
|
|
@ -1,3 +1,11 @@
|
||||||
|
2013-03-27 Kai Tietz <ktietz@redhat.com>
|
||||||
|
|
||||||
|
* config.build: Add support for cygwin x64 target.
|
||||||
|
* config.gcc: Likewise.
|
||||||
|
* config.host: Likewise.
|
||||||
|
* configure.ac: Likewise
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
2013-03-27 Kai Tietz <ktietz@redhat.com>
|
2013-03-27 Kai Tietz <ktietz@redhat.com>
|
||||||
|
|
||||||
* config/i386/cygwin-stdint.h: Add support for cygwin x64 target.
|
* config/i386/cygwin-stdint.h: Add support for cygwin x64 target.
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ case $build in
|
||||||
# IBM 360/370/390 Architecture
|
# IBM 360/370/390 Architecture
|
||||||
build_xm_defines='FATAL_EXIT_CODE=12'
|
build_xm_defines='FATAL_EXIT_CODE=12'
|
||||||
;;
|
;;
|
||||||
i[34567]86-*-cygwin* )
|
i[34567]86-*-cygwin* | x86_64-*-cygwin* )
|
||||||
build_xm_file=i386/xm-cygwin.h
|
build_xm_file=i386/xm-cygwin.h
|
||||||
build_exeext=.exe
|
build_exeext=.exe
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -1456,6 +1456,22 @@ i[34567]86-*-cygwin*)
|
||||||
fi
|
fi
|
||||||
use_gcc_stdint=wrap
|
use_gcc_stdint=wrap
|
||||||
;;
|
;;
|
||||||
|
x86_64-*-cygwin*)
|
||||||
|
need_64bit_isa=yes
|
||||||
|
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h i386/cygwin-w64.h i386/cygwin-stdint.h"
|
||||||
|
xm_file=i386/xm-cygwin.h
|
||||||
|
tmake_file="${tmake_file} i386/t-cygming t-slibgcc i386/t-cygwin-w64"
|
||||||
|
target_gtfiles="\$(srcdir)/config/i386/winnt.c"
|
||||||
|
extra_options="${extra_options} i386/cygming.opt"
|
||||||
|
extra_objs="winnt.o winnt-stubs.o"
|
||||||
|
c_target_objs="${c_target_objs} msformat-c.o"
|
||||||
|
cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
|
||||||
|
if test x$enable_threads = xyes; then
|
||||||
|
thread_file='posix'
|
||||||
|
fi
|
||||||
|
use_gcc_stdint=wrap
|
||||||
|
tm_defines="${tm_defines} TARGET_CYGWIN64=1"
|
||||||
|
;;
|
||||||
i[34567]86-*-mingw* | x86_64-*-mingw*)
|
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"
|
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h"
|
||||||
xm_file=i386/xm-mingw32.h
|
xm_file=i386/xm-mingw32.h
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ case ${host} in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
i[34567]86-*-cygwin*)
|
i[34567]86-*-cygwin* | x86_64-*-cygwin*)
|
||||||
host_xm_file=i386/xm-cygwin.h
|
host_xm_file=i386/xm-cygwin.h
|
||||||
out_host_hook_obj=host-cygwin.o
|
out_host_hook_obj=host-cygwin.o
|
||||||
host_xmake_file="${host_xmake_file} i386/x-cygwin"
|
host_xmake_file="${host_xmake_file} i386/x-cygwin"
|
||||||
|
|
|
||||||
|
|
@ -4893,7 +4893,9 @@ case "${target}" in
|
||||||
hppa*64*-*-hpux*)
|
hppa*64*-*-hpux*)
|
||||||
# PIC is the default for 64-bit PA HP-UX.
|
# PIC is the default for 64-bit PA HP-UX.
|
||||||
;;
|
;;
|
||||||
i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
|
i[34567]86-*-cygwin* | x86_64-*-cygwin*)
|
||||||
|
;;
|
||||||
|
i[34567]86-*-mingw* | x86_64-*-mingw*)
|
||||||
;;
|
;;
|
||||||
i[34567]86-*-interix[3-9]*)
|
i[34567]86-*-interix[3-9]*)
|
||||||
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
||||||
|
|
@ -7079,7 +7081,7 @@ else
|
||||||
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
|
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
|
||||||
i?86*-*-gnu* | \
|
i?86*-*-gnu* | \
|
||||||
i?86*-*-mingw* | x86_64*-*-mingw* | \
|
i?86*-*-mingw* | x86_64*-*-mingw* | \
|
||||||
i?86*-*-cygwin*)
|
i?86*-*-cygwin* | x86_64*-*-cygwin*)
|
||||||
enable_decimal_float=yes
|
enable_decimal_float=yes
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
@ -24276,7 +24278,7 @@ fi
|
||||||
# wrappers to aid in interposing and redirecting operators new, delete,
|
# wrappers to aid in interposing and redirecting operators new, delete,
|
||||||
# etc., as per n2800 #17.6.4.6 [replacement.functions]. Check if we
|
# etc., as per n2800 #17.6.4.6 [replacement.functions]. Check if we
|
||||||
# are configuring for a version of Cygwin that exports the wrappers.
|
# are configuring for a version of Cygwin that exports the wrappers.
|
||||||
if test x$host = x$target; then
|
if test x$host = x$target && test x$host_cpu = xi686; then
|
||||||
ac_fn_c_check_func "$LINENO" "__wrap__Znaj" "ac_cv_func___wrap__Znaj"
|
ac_fn_c_check_func "$LINENO" "__wrap__Znaj" "ac_cv_func___wrap__Znaj"
|
||||||
if test "x$ac_cv_func___wrap__Znaj" = x""yes; then :
|
if test "x$ac_cv_func___wrap__Znaj" = x""yes; then :
|
||||||
gcc_ac_cygwin_dll_wrappers=yes
|
gcc_ac_cygwin_dll_wrappers=yes
|
||||||
|
|
|
||||||
|
|
@ -3624,7 +3624,7 @@ changequote([,])dnl
|
||||||
# wrappers to aid in interposing and redirecting operators new, delete,
|
# wrappers to aid in interposing and redirecting operators new, delete,
|
||||||
# etc., as per n2800 #17.6.4.6 [replacement.functions]. Check if we
|
# etc., as per n2800 #17.6.4.6 [replacement.functions]. Check if we
|
||||||
# are configuring for a version of Cygwin that exports the wrappers.
|
# are configuring for a version of Cygwin that exports the wrappers.
|
||||||
if test x$host = x$target; then
|
if test x$host = x$target && test x$host_cpu = xi686; then
|
||||||
AC_CHECK_FUNC([__wrap__Znaj],[gcc_ac_cygwin_dll_wrappers=yes],[gcc_ac_cygwin_dll_wrappers=no])
|
AC_CHECK_FUNC([__wrap__Znaj],[gcc_ac_cygwin_dll_wrappers=yes],[gcc_ac_cygwin_dll_wrappers=no])
|
||||||
else
|
else
|
||||||
# Can't check presence of libc functions during cross-compile, so
|
# Can't check presence of libc functions during cross-compile, so
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue