cygwin issues
Jeff Sturm
jsturm@one-point.com
Thu May 24 21:35:00 GMT 2001
On 2001年5月24日, Tony Kimball wrote:
> I'm working on a cygwin cross-compiler (linux host), from the 3.0
> branch. I'm having a little trouble with boehm-gc right now. Any
> tips as to what problems are likely there are appreciated.
Does gctest run?
I assume you're building with threads. IIRC the GC needs to run within a
DLL on win32 to see the DLL_THREAD_ATTACH messages. I don't expect a
plain static build to work without modifications.
> - Weak symbols don't seem to be supported for cygwin. I may be
> overlooking some configuration variable which would enable them.
> This was a problem in two areas:
There ought to be an autoconf test for weak symbols. The few features
that depend on it could be wrapped in "#ifdef HAVE_PRAGMA_WEAK ... #endif"
or similar.
> - alloca. ok, this should be obvious to me, but its not. There's
> seemingly no alloca.h for cygwin, so I just changed references to
> __builtin_alloca.
I thought AG had already done this (maybe only on the trunk)?
http://gcc.gnu.org/ml/java-patches/2001-q1/msg00225.html
I'm aware that Cygwin needs a little work. I think we've probably missed
the chance to fix it in 3.0 (that's up to Tom and the others) but I'd like
to do this on the trunk soon.
Jeff
More information about the Java
mailing list