This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
libffi and embedded mips
- From: "Joel Sherrill <joel at OARcorp dot com>" <joel dot sherrill at OARcorp dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 26 Aug 2002 11:32:56 -0500
- Subject: libffi and embedded mips
- Organization: OAR Corporation
- Reply-to: joel dot sherrill at OARcorp dot com
Hi,
I am trying to turn on libffi for mips-rtems and ran into this
piece of code in libffi/include/ffi_mips.h
#if !defined(_MIPS_SIM)
-- something is very wrong --
#else
# if _MIPS_SIM==_ABIN32 && defined(_ABIN32)
# define FFI_MIPS_N32
# else
# if defined(__GNUC__)
# define FFI_MIPS_O32
# else
# if _MIPS_SIM==_ABIO32
# define FFI_MIPS_O32
# else
-- this is an unsupported platform --
# endif
# endif
# endif
#endif
It looks like the unix mips platforms go to great pains to define
this based upon gcc arguments.
I have no idea how it should be set for a generic mips-elf
embedded target. Suggestions appreciated.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985