This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Enable java libraries for arm-elf compiler



This patch turns on building of the Java support libraries (boehm-gc, 
libjava) for an arm-elf cross-compiler configuration.

Ok to install?

R.

(toplevel)

<date>  Richard Earnshaw  <rearnsha@arm.com>

	* configure.in (arm-*-elf*): Enable java libraries.

(boehm-gc):

<date>  Richard Earnshaw  <rearnsha@arm.com>

	* include/private/gcconfig.h: Don't test for __XSCALE__; instead, test
	for __arm__ or __thumb__.

(libjava)

<date>  Richard Earnshaw  <rearnsha@arm.com>

	* configure.host (arm*-elf): Add support for this target.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.123
diff -p -r1.123 configure.in
*** configure.in	2002/03/25 19:17:05	1.123
--- configure.in	2002/03/26 14:04:23
*************** case "${target}" in
*** 689,695 ****
      fi
      ;;
    arm-*-elf*)
!     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
      if [ x${is_cross_compiler} != xno ] ; then
  	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
      fi
--- 689,695 ----
      fi
      ;;
    arm-*-elf*)
!     noconfigdirs="$noconfigdirs target-libgloss target-libffi target-qthreads"
      if [ x${is_cross_compiler} != xno ] ; then
  	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
      fi
Index: boehm-gc/include/private/gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.13
diff -p -r1.13 gcconfig.h
*** gcconfig.h	2002/03/25 23:20:31	1.13
--- gcconfig.h	2002/03/26 14:05:07
***************
*** 44,50 ****
  # endif
  
  /* Determine the machine type: */
! # if defined(__XSCALE__)
  #    define ARM32
  #    if !defined(LINUX)
  #      define NOSYS
--- 44,50 ----
  # endif
  
  /* Determine the machine type: */
! # if defined(__arm__) || defined(__thumb__)
  #    define ARM32
  #    if !defined(LINUX)
  #      define NOSYS
Index: libjava/configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.host,v
retrieving revision 1.28
diff -p -r1.28 configure.host
*** configure.host	2002/03/23 16:16:45	1.28
--- configure.host	2002/03/26 14:03:09
*************** DIVIDESPEC=-fuse-divide-subroutine
*** 60,65 ****
--- 60,73 ----
  EXCEPTIONSPEC=-fnon-call-exceptions
  
  case "${host}" in
+   arm*-elf)
+ 	with_libffi_default=no
+ 	PROCESS=Ecos
+ 	FILE=Posix
+ 	enable_java_net_default=no
+ 	enable_getenv_properties_default=no
+ 	enable_main_args_default=no
+ 	;;
    mips-tx39-*|mipstx39-unknown-*)
  	libgcj_flags="${libgcj_flags} -G 0"
  	LDFLAGS="$LDFLAGS -Tjmr3904dram.ld"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]