diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-06 08:41:37 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-06 08:41:37 +0000 |
commit | 388807abce552526b604292dbf849b05f600255b (patch) | |
tree | 5aa04462241caebfe03d88f0811f2affe93e6d35 /gcc/config.host | |
parent | f5c968c20f0edef7f18506074d83c14cfe5a55bb (diff) | |
download | gcc-388807abce552526b604292dbf849b05f600255b.tar.gz |
* config.host: Add a section for generic hosts, and a subsection
for Darwin. Add a case for x86-darwin. Update ppc-darwin case.
* config/host-darwin.c: New, split out of config/rs6000/host-darwin.c.
* config/host-darwin.h: New.
* config/x-darwin: New.
* config/i386/host-i386-darwin.c: New.
* config/i386/x-darwin: New.
* config/rs6000/host-darwin.c: Include host-darwin.h.
(darwin_rs6000_gt_pch_get_address): Move to config/host-darwin.c.
(darwin_rs6000_gt_pch_use_address): Likewise.
* config/rs6000/x-darwin: Change name of .o built, update
dependencies for changes to rs6000/host-darwin.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97709 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r-- | gcc/config.host | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/gcc/config.host b/gcc/config.host index 64280c9436c..dbbf5b129e0 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -85,6 +85,15 @@ case ${host} in ;; esac +# 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 + # Machine-specific settings. case ${host} in alpha*-dec-*vms*) @@ -164,6 +173,10 @@ case ${host} in i[34567]86-*-interix3*) host_xmake_file="x-interix" ;; + 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" + ;; i860-*-sysv4*) host_xmake_file=i860/x-sysv4 ;; @@ -171,9 +184,8 @@ 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 + out_host_hook_obj="${out_host_hook_obj} host-ppc-darwin.o" + host_xmake_file="${host_xmake_file} rs6000/x-darwin" ;; *-*-solaris2*) out_host_hook_obj=host-solaris.o |