From: Ranjit Mathew Date: Sun, 27 Jul 2003 04:11:55 +0000 (+0000) Subject: configure.host: Use -fcheck-references and -fuse-divide-subroutine for MinGW until... X-Git-Tag: releases/gcc-3.4.0~4584 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6eb085352b0953ba74345c6c01f6018536d836b0;p=thirdparty%2Fgcc.git configure.host: Use -fcheck-references and -fuse-divide-subroutine for MinGW until we fix... 2003-07-26 Ranjit Mathew * configure.host: Use -fcheck-references and -fuse-divide-subroutine for MinGW until we fix win32_exception_handler( ) in win32.cc w.r.t. Win32 Structured Exception Handling (SEH). From-SVN: r69843 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ef301dc8cc6a..d5ebd57b4e5a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2003-07-26 Ranjit Mathew + * configure.host: Use -fcheck-references and + -fuse-divide-subroutine for MinGW until we fix + win32_exception_handler( ) in win32.cc w.r.t. Win32 + Structured Exception Handling (SEH). + * win32.cc (_Jv_platform_initProperties): Use generic names like "x86" for the "os.arch" property to be consistent with what Sun's JDK produces. Use the wProcessorArchitecture diff --git a/libjava/configure.host b/libjava/configure.host index 1e2183184e4e..91b529b2cd0f 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -222,6 +222,13 @@ EOF *-*-freebsd*) slow_pthread_self= ;; + *-mingw*) + # FIXME: win32_exception_handler( ) in win32.cc does not do the + # right stuff yet w.r.t. SEH. Live with the following for now. + can_unwind_signal=no + CHECKREFSPEC=-fcheck-references + DIVIDESPEC=-fuse-divide-subroutine + ;; *-cygwin*) # The cygwin linker doesn't do 8-byte alignment by default, so # disable hash synchronization for now.