If I recall correctly, pacman has an option, which on by default, to scan
the packages for DLLs and EXEs and run the "strip" program (part of
binutils) on them to strip out debug information.

--David

On Sun, Jan 15, 2017 at 1:06 PM, Ian Puleston <[email protected]>
wrote:

> Hi,
>
>
>
> After having fixed a bug in GTK 3’s GtkComboBox, I now want to build a
> patched version of libgtk-3-0.dll to use. But makepkg has generated a
> makefile that builds the debug version which is over 31Mbytes where the
> original distributable version in msys2 is 7.3Mbytes, so my question is how
> to now build an optimized non-debug version of this?
>
>
>
> After some poking around in gtk-3’s configure script I found a
> --enable-debug option, and re-running configure with “--enable-debug=no”
> added resulted in an 8.5Mbyte libgtk-3-0.dll, so better but that is still
> significantly bigger than the distributable version. The CFLAGS passed to
> configure do include “-O2” so am I missing some other optimization
> somewhere?
>
>
>
> How is this normally done when building a distributable DLL for msys2?
>
>
>
> Ian
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to