This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: cygwin issues
- To: Tony Kimball <alk at pobox dot com>
- Subject: Re: cygwin issues
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 25 May 2001 00:39:46 -0400 (EDT)
- cc: java at gcc dot gnu dot org
On Thu, 24 May 2001, 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