[Mingw-w64-public] Is it safe to strip all the executables in MSYS2/mingw64

2018-02-06 Thread Budi
I found out many of executable binaries in bin folder of msys2 and
mingw64 can still be stripped.
Is it safe enough to strip all these executable entirely ?

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [PATCH] ucrtbase: Map the (_)strcmpi function to _stricmp

2018-02-06 Thread Martin Storsjö
When using GNU binutils, the function aliases won't work transitively,
i.e. the strcmpi == _strcmpi alias in msvcrt-common.def.in won't
use the second alias of _strcmpi == _stricmp in ucrtbase.def.in but
will instead end up with an import of the nonexistent function
_strcmpi. Therefore add an ifdef in msvcrt-common.def and add two
aliases in ucrtbase.def.in.

Signed-off-by: Martin Storsjö 
---
 mingw-w64-crt/def-include/msvcrt-common.def.in | 2 ++
 mingw-w64-crt/lib-common/ucrtbase.def.in   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/mingw-w64-crt/def-include/msvcrt-common.def.in 
b/mingw-w64-crt/def-include/msvcrt-common.def.in
index c76bc6a..364e440 100644
--- a/mingw-w64-crt/def-include/msvcrt-common.def.in
+++ b/mingw-w64-crt/def-include/msvcrt-common.def.in
@@ -79,7 +79,9 @@ ADD_UNDERSCORE(spawnve)
 ADD_UNDERSCORE(spawnvp)
 ADD_UNDERSCORE(spawnvpe)
 ;stat)
+#ifndef UCRTBASE
 ADD_UNDERSCORE(strcmpi)
+#endif
 ADD_UNDERSCORE(strdup)
 ADD_UNDERSCORE(stricmp)
 ADD_UNDERSCORE(stricoll)
diff --git a/mingw-w64-crt/lib-common/ucrtbase.def.in 
b/mingw-w64-crt/lib-common/ucrtbase.def.in
index 8ca560a..4ca4e92 100644
--- a/mingw-w64-crt/lib-common/ucrtbase.def.in
+++ b/mingw-w64-crt/lib-common/ucrtbase.def.in
@@ -1944,6 +1944,7 @@ _stat64
 _stat64i32
 _statusfp
 F_I386(_statusfp2)
+_strcmpi == _stricmp
 _strcoll_l
 _strdate
 _strdate_s
@@ -2529,6 +2530,7 @@ strcat
 strcat_s
 strchr
 strcmp
+strcmpi == _stricmp
 strcoll
 strcpy
 strcpy_s
-- 
2.7.4


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] wine-import.sh: Run autoconf after updating widl version.

2018-02-06 Thread Martin Storsjö

On Tue, 6 Feb 2018, Jacek Caban wrote:



This reverts 9b27e7e9ce13d05de3527878031e47cfe6eca06b. We update VERSION file 
to Wine version, which is imported into configure script.


Signed-off-by: Jacek Caban 
---
mingw-w64-tools/widl/wine-import.sh | 1 +
1 file changed, 1 insertion(+)


Oh, indeed - I didn't notice this.

LGTM, and sorry for the unnecessary churn.

// Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] wine-import.sh: Run autoconf after updating widl version.

2018-02-06 Thread Kai Tietz via Mingw-w64-public
Ok. Thanks, Kai

2018-02-06 11:53 GMT+01:00 Jacek Caban :
>
> This reverts 9b27e7e9ce13d05de3527878031e47cfe6eca06b. We update VERSION
> file to Wine version, which is imported into configure script.
>
> Signed-off-by: Jacek Caban 
> ---
>  mingw-w64-tools/widl/wine-import.sh | 1 +
>  1 file changed, 1 insertion(+)
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [PATCH] wine-import.sh: Run autoconf after updating widl version.

2018-02-06 Thread Jacek Caban


This reverts 9b27e7e9ce13d05de3527878031e47cfe6eca06b. We update VERSION 
file to Wine version, which is imported into configure script.


Signed-off-by: Jacek Caban 
---
 mingw-w64-tools/widl/wine-import.sh | 1 +
 1 file changed, 1 insertion(+)


diff --git a/mingw-w64-tools/widl/wine-import.sh b/mingw-w64-tools/widl/wine-import.sh
index a02afc9e..ee740a17 100755
--- a/mingw-w64-tools/widl/wine-import.sh
+++ b/mingw-w64-tools/widl/wine-import.sh
@@ -50,3 +50,4 @@ for f in patches/*
 do
 	patch -p3 < $f
 done
+autoconf

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public