This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: WIN-29: mingw requires magic '-mthreads' flag to deal with exceptions and threads properly


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]