WIN-29: mingw requires magic '-mthreads' flag to deal with exceptions and threads properly
Tom Tromey
tromey@redhat.com
Tue Feb 26 17:37:00 GMT 2002
>>>>> "Adam" == Adam Megacz <patches@lists.megacz.com> writes:
Adam> 2002-02-25 Adam Megacz <adam@xwt.org>
Adam> * configure.in: Added '-mthreads' option for mingw.
Adam> win32)
Adam> + # mingw requires the magic -mthreads option
Adam> + X_CFLAGS="$X_CFLAGS -mthreads"
Using X_CFLAGS is wrong here. That is used by the X macros.
It would be better to append to LIBGCJ_CXXFLAGS.
Do gcj invocations need -mthreads?
If so then you need to arrange for this to end up in libgcj.spec.
This means you'll have to add a new subst.
Tom
More information about the Java-patches
mailing list