libffi and embedded mips

Joel Sherrill <joel@OARcorp.com> joel.sherrill@OARcorp.com
Mon Aug 26 09:33:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /