cross toolchain fixes and pj port
Anthony Green
green@cygnus.com
Sat Oct 2 08:43:00 GMT 1999
The following patches include a couple of fixes for cross toolchains,
and endian bits for the picojava port. I am committing this (and the
rebuilt Makefile.in/configure files).
1999-10-01 Steve Chamberlain <sac@pobox.com>
* Makefile.in: Rebuilt.
* Makefile.am (ZINCS): Define
* configure: Rebuilt.
* configure.in (ZLIBSPEC): Spell -lzgcj correctly.
* java/lang/ieeefp.h: Add definitions for picoJava.
Index: Makefile.am
===================================================================
RCS file: /cvs/java/libgcj/libjava/Makefile.am,v
retrieving revision 1.32
diff -u -r1.32 Makefile.am
--- Makefile.am 1999/09/24 19:12:21 1.32
+++ Makefile.am 1999/10/02 15:36:25
@@ -80,6 +80,7 @@
JC1FLAGS = -g @LIBGCJ_JAVAFLAGS@
LIBFFIINCS = -I$(top_srcdir)/../libffi/include -I../libffi/include
+ZINCS = -I$(top_srcdir)/../zlib
INCLUDES = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
$(GCINCS) $(THREADINCS) \
Index: configure.in
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure.in,v
retrieving revision 1.35
diff -u -r1.35 configure.in
--- configure.in 1999/10/02 00:19:00 1.35
+++ configure.in 1999/10/02 15:36:30
@@ -302,7 +302,7 @@
dnl We also assume we are using gcc, which provides alloca.
AC_DEFINE(HAVE_ALLOCA)
- ZLIBSPEC=-lgcj
+ ZLIBSPEC=-lzgcj
# If Canadian cross, then don't pick up tools from the build
# directory.
Index: java/lang/ieeefp.h
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/lang/ieeefp.h,v
retrieving revision 1.2
diff -u -r1.2 ieeefp.h
--- ieeefp.h 1999/06/21 15:42:12 1.2
+++ ieeefp.h 1999/10/02 15:36:30
@@ -66,6 +66,14 @@
#define __IEEE_BIG_ENDIAN
#endif
+#ifdef __pj__
+#ifdef __pjl__
+#define __IEEE_LITTLE_ENDIAN
+#else
+#define __IEEE_BIG_ENDIAN
+#endif
+#endif
+
/* necv70 was __IEEE_LITTLE_ENDIAN. */
#ifdef __W65__
--
Anthony Green Cygnus Solutions
Sunnyvale, California
More information about the Java-patches
mailing list