aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2006-11-09 23:56:57 +0000
committerEric Christopher <echristo@gcc.gnu.org>2006-11-09 23:56:57 +0000
commitb8ec3cc8db6d261263e3e42b3d5a2ec915534163 (patch)
tree10154e12ba067e5cf04925eae7c4ecdf66094e92 /gcc/config.gcc
parentbdbba3c27ea90684291579efcf27d9f346bd1db7 (diff)
downloadgcc-b8ec3cc8db6d261263e3e42b3d5a2ec915534163.zip
gcc-b8ec3cc8db6d261263e3e42b3d5a2ec915534163.tar.gz
gcc-b8ec3cc8db6d261263e3e42b3d5a2ec915534163.tar.bz2
re PR bootstrap/26892 (Can't compile a 64-bit gcc)
2006-11-09 Eric Christopher <echristo@apple.com> PR bootstrap/26892 PR bootstrap/27814 PR other/28994 * configure.ac: Match powerpc*-*-darwin* for powerpc darwin checks. * config.gcc (powerpc64-*-darwin*): New target. * config.host: Ditto. * config/rs6000/darwin64.h: New file. * config/rs6000/x-darwin64: Ditto. * config/rs6000/host-ppc64-darwin.c: Ditto. From-SVN: r118633
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d1fd076..6fd1a31 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1742,6 +1742,12 @@ powerpc-*-darwin*)
esac
extra_headers=altivec.h
;;
+powerpc64-*-darwin*)
+ tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
+ extra_options="${extra_options} ${cpu_type}/darwin.opt"
+ # We're omitting t-darwin8 to avoid building any multilibs
+ extra_headers=altivec.h
+ ;;
powerpc*-*-freebsd*)
tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"