Re: [Mingw-w64-public] possible use seh for 32 bit migw-w63 GCC-4.9.1 :
Ruben Van Boxem vanboxem.ruben@... writes: 2014-07-22 20:01 GMT+02:00 niXman i.nixman- gaufno9rbhfsroww+9z...@public.gmane.org:Does anybody know is SEH-32bit support already implemented in GCC? It's not. Thanks for info Is follow link 4.9.1 with seh? http://sourceforge.net/projects/mingw- w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw- builds/4.9.1/threads-win32/seh/ -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] possible use seh for 32 bit migw-w63 GCC-4.9.1 :
2014-07-29 11:47 GMT+02:00 massimo massimo.belgr...@gmail.com: Ruben Van Boxem vanboxem.ruben@... writes: 2014-07-22 20:01 GMT+02:00 niXman i.nixman- gaufno9rbhfsroww+9z...@public.gmane.org:Does anybody know is SEH-32bit support already implemented in GCC? It's not. Thanks for info Is follow link 4.9.1 with seh? http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.1/threads-win32/seh/ That's right. If you also want C++11 thread, mutex and future support, go with http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.1/threads-posix/seh/ http://sourceforge.net/projects/mingw- Cheers, Ruben -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] [Patch] Add memmove_s emu
Some applications, like CryptoPP, won't run on Windows XP, because memmove_s isn't defined in that OS. As I needed CryptoPP to compile easily, I wrote this patch. It emulates the method by checking for the availability and falling back on memmove (without s). I mimicked memcpy_s. I'm not subscribed to the list, so please make sure my email address is in the recipients list when replying on this email. Ruben De Smet From d51b0c6477f1ce5ca2cc0377be239339327fa252 Mon Sep 17 00:00:00 2001 From: Ruben De Smet ruben.de.s...@telenet.be Date: Mon, 28 Jul 2014 21:15:57 +0200 Subject: [PATCH] Add secapi wrapper for memmove_s --- mingw-w64-crt/Makefile.am | 1 + mingw-w64-crt/Makefile.in | 73 ++- mingw-w64-crt/lib32/msvcrt.def.in | 2 +- mingw-w64-crt/lib64/msvcrt.def.in | 2 +- mingw-w64-crt/secapi/memmove_s.c | 60 5 files changed, 128 insertions(+), 10 deletions(-) create mode 100644 mingw-w64-crt/secapi/memmove_s.c diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index 5d4e469..1cfac22 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -185,6 +185,7 @@ src_msvcrt=\ secapi/_wstrdate_s.c \ secapi/asctime_s.c \ secapi/memcpy_s.c \ + secapi/memmove_s.c \ secapi/rand_s.c \ secapi/sprintf_s.c \ secapi/strerror_s.c \ diff --git a/mingw-w64-crt/Makefile.in b/mingw-w64-crt/Makefile.in index 8881803..67c3e07 100644 --- a/mingw-w64-crt/Makefile.in +++ b/mingw-w64-crt/Makefile.in @@ -1135,9 +1135,10 @@ am__lib32_libmsvcrt_a_SOURCES_DIST = misc/invalid_parameter_handler.c \ secapi/_vcwprintf_s_l.c secapi/_waccess_s.c \ secapi/_wasctime_s.c secapi/_wctime32_s.c secapi/_wctime64_s.c \ secapi/_wstrtime_s.c secapi/_wmktemp_s.c secapi/_wstrdate_s.c \ - secapi/asctime_s.c secapi/memcpy_s.c secapi/rand_s.c \ - secapi/sprintf_s.c secapi/strerror_s.c secapi/vsprintf_s.c \ - secapi/wmemcpy_s.c misc/lc_locale_func.c lib32/msvcrt.def.in + secapi/asctime_s.c secapi/memcpy_s.c secapi/memmove_s.c \ + secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ + secapi/vsprintf_s.c secapi/wmemcpy_s.c misc/lc_locale_func.c \ + lib32/msvcrt.def.in am__objects_21 = \ misc/lib32_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/lib32_libmsvcrt_a-output_format.$(OBJEXT) \ @@ -1173,6 +1174,7 @@ am__objects_21 = \ secapi/lib32_libmsvcrt_a-_wstrdate_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-asctime_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-memcpy_s.$(OBJEXT) \ + secapi/lib32_libmsvcrt_a-memmove_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-rand_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-sprintf_s.$(OBJEXT) \ secapi/lib32_libmsvcrt_a-strerror_s.$(OBJEXT) \ @@ -2270,9 +2272,9 @@ am__lib64_libmsvcrt_a_SOURCES_DIST = misc/invalid_parameter_handler.c \ secapi/_vcwprintf_s_l.c secapi/_waccess_s.c \ secapi/_wasctime_s.c secapi/_wctime32_s.c secapi/_wctime64_s.c \ secapi/_wstrtime_s.c secapi/_wmktemp_s.c secapi/_wstrdate_s.c \ - secapi/asctime_s.c secapi/memcpy_s.c secapi/rand_s.c \ - secapi/sprintf_s.c secapi/strerror_s.c secapi/vsprintf_s.c \ - secapi/wmemcpy_s.c lib64/msvcrt.def.in + secapi/asctime_s.c secapi/memcpy_s.c secapi/memmove_s.c \ + secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ + secapi/vsprintf_s.c secapi/wmemcpy_s.c lib64/msvcrt.def.in am__objects_54 = \ misc/lib64_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/lib64_libmsvcrt_a-output_format.$(OBJEXT) \ @@ -2308,6 +2310,7 @@ am__objects_54 = \ secapi/lib64_libmsvcrt_a-_wstrdate_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-asctime_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-memcpy_s.$(OBJEXT) \ + secapi/lib64_libmsvcrt_a-memmove_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-rand_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-sprintf_s.$(OBJEXT) \ secapi/lib64_libmsvcrt_a-strerror_s.$(OBJEXT) \ @@ -,8 +3336,9 @@ am__libarm32_libmsvcrt_a_SOURCES_DIST = \ secapi/_waccess_s.c secapi/_wasctime_s.c secapi/_wctime32_s.c \ secapi/_wctime64_s.c secapi/_wstrtime_s.c secapi/_wmktemp_s.c \ secapi/_wstrdate_s.c secapi/asctime_s.c secapi/memcpy_s.c \ - secapi/rand_s.c secapi/sprintf_s.c secapi/strerror_s.c \ - secapi/vsprintf_s.c secapi/wmemcpy_s.c misc/lc_locale_func.c + secapi/memmove_s.c secapi/rand_s.c secapi/sprintf_s.c \ + secapi/strerror_s.c secapi/vsprintf_s.c secapi/wmemcpy_s.c \ + misc/lc_locale_func.c am__objects_83 = \ misc/libarm32_libmsvcrt_a-invalid_parameter_handler.$(OBJEXT) \ misc/libarm32_libmsvcrt_a-output_format.$(OBJEXT) \ @@ -3370,6 +3374,7 @@ am__objects_83 = \ secapi/libarm32_libmsvcrt_a-_wstrdate_s.$(OBJEXT) \ secapi/libarm32_libmsvcrt_a-asctime_s.$(OBJEXT) \ secapi/libarm32_libmsvcrt_a-memcpy_s.$(OBJEXT) \ + secapi/libarm32_libmsvcrt_a-memmove_s.$(OBJEXT) \ secapi/libarm32_libmsvcrt_a-rand_s.$(OBJEXT) \ secapi/libarm32_libmsvcrt_a-sprintf_s.$(OBJEXT) \ secapi/libarm32_libmsvcrt_a-strerror_s.$(OBJEXT) \ @@ -5059,6 +5064,7 @@ src_msvcrt = \ secapi/_wstrdate_s.c \
[Mingw-w64-public] [PATCH] softmath: Add more double functions again
Please review, i'll commit it, just need an OK. (Last time it was confirmed on IRC and is already pushed upstream) diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index 5d4e469..2c0d85e 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -224,7 +224,7 @@ src_libmingwex=\ math/fma.Smath/fmaf.Smath/frexpl.S math/ilogbl.S\ math/internal_logl.S math/log10l.S math/log1pl.S \ math/log2l.S math/nearbyint.S math/nearbyintf.S math/nearbyintl.Smath/remainder.S \ - math/remainderf.S math/remainderl.S math/remquo.S math/remquof.S math/remquol.S math/scalbn.S\ + math/remainderf.S math/remainderl.S math/remquo.S math/remquof.S math/remquol.S \ math/scalbnl.Smath/sinl_internal.S math/tanl.Smath/trunc.S math/truncf.S\ math/acoshl.c math/acosl.c \ math/asinhl.c math/asinl.c math/atan2l.c \ @@ -234,13 +234,13 @@ src_libmingwex=\ math/expf.c math/expl.cmath/expm1l.c \ math/fabs.c math/fabsf.c math/fabsl.c math/fdim.c math/fdimf.c math/fdiml.c \ math/fmal.c math/fmax.cmath/fmaxf.c math/fmaxl.c math/fmin.c math/fminf.c \ - math/fminl.c math/fmod.cmath/fmodl.c math/fp_consts.c math/fp_constsf.c\ + math/fminl.c math/fmodl.c math/fp_consts.c math/fp_constsf.c\ math/fp_constsl.c math/fpclassify.c math/fpclassifyf.cmath/fpclassifyl.c math/frexpf.cmath/fucom.c \ math/hypotf.c math/hypotl.c math/isnan.c math/isnanf.cmath/isnanl.cmath/ldexp.c \ math/ldexpf.c math/ldexpl.c math/lgamma.c math/lgammaf.c math/lgammal.c math/llrint.c\ math/signgam.c \ math/llrintf.cmath/llrintl.c math/llround.cmath/llroundf.c math/llroundl.c math/log.c \ - math/log10f.c math/logb.cmath/logbl.c math/logf.c math/logl.c \ + math/log10f.c math/logbl.c math/logf.c math/logl.c \ math/lrint.c math/lrintf.c math/lrintl.c math/lround.cmath/lroundf.c math/lroundl.c \ math/modf.c math/modff.c math/modfl.c math/nextafterf.cmath/nextafterl.cmath/nexttoward.c\ math/nexttowardf.cmath/pow.c math/powf.c math/powi.c math/powif.c math/powil.c \ @@ -298,28 +298,28 @@ src_libmingwex64=\ math/acosf.c math/acosh.c math/acoshf.c math/asinf.c math/asinh.c \ math/asinhf.c math/atan2f.c math/atanf.c math/atanh.c math/atanhf.c \ math/cosf.c math/exp.cmath/exp2.S math/exp2f.S math/expm1.c \ - math/expm1f.c math/fmodf.c math/ilogb.S math/ilogbf.S math/log1p.S \ - math/log1pf.S math/log2.S math/log2f.S math/logbf.c math/scalbnf.S\ - math/sinf.c math/tanf.c + math/expm1f.c math/fmod.c math/fmodf.c math/ilogb.S math/ilogbf.S \ + math/log1p.S math/log1pf.S math/log2.S math/log2f.S math/logb.c \ + math/logbf.c math/scalbn.S math/scalbnf.Smath/sinf.c math/tanf.c # these only go into the 32 bit version: src_libmingwex32=\ math/acosf.c math/acosh.c math/acoshf.c math/asinf.c math/asinh.c \ math/asinhf.c math/atan2f.c math/atanf.c math/atanh.c math/atanhf.c \ math/cosf.c math/exp.cmath/exp2.S math/exp2f.S math/expm1.c \ - math/expm1f.c math/fmodf.c math/ilogb.S math/ilogbf.S math/log1p.S \ - math/log1pf.S math/log2.S math/log2f.S math/logbf.c math/scalbnf.S\ - math/sinf.c math/tanf.c + math/expm1f.c math/fmod.c math/fmodf.c math/ilogb.S math/ilogbf.S \ + math/log1p.S math/log1pf.S math/log2.S math/log2f.S math/logb.c \ + math/logbf.c math/scalbn.S