This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: WIN-29: mingw requires magic '-mthreads' flag to deal with exceptions and threads properly
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <patches at lists dot megacz dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 26 Feb 2002 12:17:22 -0700
- Subject: Re: WIN-29: mingw requires magic '-mthreads' flag to deal with exceptions and threads properly
- References: <86it8khq62.fsf@megacz.com>
- Reply-to: tromey at redhat dot com
>>>>> "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