This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
powerpc64 libffi not yet ported
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Jul 2002 16:52:22 +0930
- Subject: powerpc64 libffi not yet ported
This at least lets us get to the point of compiling libjava on a
powerpc-linux host.
* configure.host: Add powerpc64*-* entry.
OK mainline?
Index: libjava/configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.35
diff -u -p -r1.35 configure.host
--- libjava/configure.host 19 Jul 2002 14:41:14 -0000 1.35
+++ libjava/configure.host 26 Jul 2002 07:17:16 -0000
@@ -101,6 +101,16 @@ case "${host}" in
libgcj_interpreter=yes
enable_hash_synchronization_default=yes
;;
+ powerpc64*-*)
+ # libffi not ported.
+ with_libffi_default=no
+ libgcj_interpreter=no
+ libgcj_flags="${libgcj_flags} -mminimal-toc"
+ # this may not be correct
+ sysdeps_dir=powerpc
+ enable_hash_synchronization_default=yes
+ slow_pthread_self=yes
+ ;;
powerpc*-*)
sysdeps_dir=powerpc
libgcj_interpreter=yes
--
Alan Modra
IBM OzLabs - Linux Technology Centre