diff options
Diffstat (limited to 'gcc/config.host')
-rw-r--r-- | gcc/config.host | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/gcc/config.host b/gcc/config.host index 9024ec1c5e8..1c4c22ecd7c 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -85,6 +85,17 @@ case ${host} in ;; esac +# APPLE LOCAL begin mainline 2005-04-06 4071679 +# Common parts for widely ported systems. +case ${target} in + *-darwin*) + # Generic darwin host support. + out_host_hook_obj=host-darwin.o + host_xmake_file=x-darwin + ;; +esac +# APPLE LOCAL end mainline 2005-04-06 4071679 + # Machine-specific settings. case ${host} in alpha*-dec-*vms*) @@ -146,6 +157,8 @@ case ${host} in ;; i[34567]86-*-pe | i[34567]86-*-cygwin*) host_xm_file=i386/xm-cygwin.h + out_host_hook_obj=host-cygwin.o + host_xmake_file=i386/x-cygwin host_exeext=.exe ;; i[34567]86-*-mingw32*) @@ -163,6 +176,12 @@ case ${host} in i[34567]86-*-interix3*) host_xmake_file="x-interix" ;; +# APPLE LOCAL begin mainline 2005-04-06 4071679 + i[34567]86-*-darwin*) + out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o" + host_xmake_file="${host_xmake_file} i386/x-darwin" + ;; +# APPLE LOCAL end mainline 2005-04-06 4071679 i860-*-sysv4*) host_xmake_file=i860/x-sysv4 ;; @@ -170,9 +189,10 @@ case ${host} in host_can_use_collect2=no ;; powerpc-*-darwin*) - # powerpc-darwin host support. - out_host_hook_obj=host-darwin.o - host_xmake_file=rs6000/x-darwin +# APPLE LOCAL begin mainline 2005-04-06 4071679 + out_host_hook_obj="${out_host_hook_obj} host-ppc-darwin.o" + host_xmake_file="${host_xmake_file} rs6000/x-darwin" +# APPLE LOCAL end mainline 2005-04-06 4071679 ;; *-*-solaris2*) out_host_hook_obj=host-solaris.o |