2011-05-20 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / bfd / configure.host
index adf2cc6bf7a8bd83641b61cdcb779323f87a4c13..7c63de58397426d08501dd7a0fd527cb59a9809c 100644 (file)
@@ -19,11 +19,13 @@ HOST_U_64BIT_TYPE=
 
 case "${host}" in
 
-hppa*-*-hpux*)         # HP/UX's ftello64 et.al. declarations are only
+hppa*64*-*-hpux*)      # HP/UX's ftello64 et.al. declarations are only
                        # visible when _LARGEFILE64_SOURCE is defined.
                        # Without those declarations, real_ftell et.al.
                        # get mis-compiled.
-                       HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;;
+                       HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE"
+                       host64=true;;
+hppa*-*-hpux*)         HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;;
 hppa*-*-hiux*)         HDEFINES=-DHOST_HPPAHPUX ;;
 hppa*-*-mpeix*)                HDEFINES=-DHOST_HPPAMPEIX ;;
 hppa*-*-bsd*)          HDEFINES=-DHOST_HPPABSD ;;
@@ -48,12 +50,19 @@ mips*-sgi-irix3*)   HDEFINES="-G 4" ;;
 mips*-sgi-irix4*)      HDEFINES="-G 4" ;;
 mips*-sgi-irix6*)      host64=true;;
 mips64*-*-linux*)      host64=true;;
+mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) host64=true;;
 mips*-*-sysv4*)                ;;
 mips*-*-sysv*)         HDEFINES="-G 4" ;;
 mips*-*-riscos*)       HDEFINES="-G 4" ;;
 
 m68*-hp-hpux*)         HDEFINES=-DHOST_HP300HPUX ;;
 
+# Some Solaris systems (osol0906 at least) have a libc that doesn't recognise
+# the "MS-ANSI" code page name, so we define an override for CP_ACP (sets the
+# default code page used by windres/windmc when not specified by a commandline
+# option) to select the "WINDOWS-1252" name instead.  See PR11280 for details.
+*-*-solaris2.11)       HDEFINES=-DCP_ACP=1 ;;
+
 *-*-windows*)
                        HOST_64BIT_TYPE=__int64
                        HOST_U_64BIT_TYPE="unsigned __int64"
This page took 0.023293 seconds and 4 git commands to generate.