gcj trunk on OS X

Mohan Embar gnustuff@thisiscool.com
Thu Feb 22 15:35:00 GMT 2007


Hi Andreas,
I built gcj trunk on OS X (10.4.8) yesterday,
and among other things, I needed to do this:
Index: boehm-gc/include/private/gc_priv.h
===================================================================
--- boehm-gc/include/private/gc_priv.h	(revision 122189)
+++ boehm-gc/include/private/gc_priv.h	(working copy)
@@ -485,9 +485,9 @@
 # endif
 # elif defined(I386) || defined(X86_64)
 # if CPP_WORDSZ == 32
-# define GC_THREAD_STATE_T x86_thread_state32_t
-# define GC_MACH_THREAD_STATE x86_THREAD_STATE32
-# define GC_MACH_THREAD_STATE_COUNT x86_THREAD_STATE32_COUNT
+# define GC_THREAD_STATE_T i386_thread_state_t
+# define GC_MACH_THREAD_STATE i386_THREAD_STATE
+# define GC_MACH_THREAD_STATE_COUNT i386_THREAD_STATE_COUNT
 # define GC_MACH_HEADER mach_header
 # define GC_MACH_SECTION section
 # else
I don't know how usable this gcj is and in general, do not
know what I'm doing (on OS X, though that statement could be
easily generalized), but I thought I'd report this anyway for
whatever it's worth.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/


More information about the Java mailing list

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