This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Fwd: [MinGW-dvlpr] Fwd: [ANNOUNCEMENT] Updated: mingw-runtime-3.8-1
- From: Chris Sutcliffe <ir0nh34d at gmail dot com>
- To: Cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Tue, 16 Aug 2005 10:20:42 -0400
- Subject: Fwd: [MinGW-dvlpr] Fwd: [ANNOUNCEMENT] Updated: mingw-runtime-3.8-1
- References: <2bf229d3050815061949f2e8da@mail.gmail.com> <003801c5a1db$4218abb0$f14861cb@anykey> <2bf229d3050815173025cc668a@mail.gmail.com>
Included below is my proposal to address the stripping of the w32api
and mingw-runtime after running it by the mingw developers. Is the
proposed solution acceptable?
Chris
---------- Forwarded message ----------
From: Chris Sutcliffe <ir0nh34d@gmail.com>
Date: 15-Aug-2005 20:30
Subject: Re: [MinGW-dvlpr] Fwd: [ANNOUNCEMENT] Updated: mingw-runtime-3.8-1
To: mingw-dvlpr@lists.sourceforge.net
> > > > > I've made a new version of the mingw runtime headers and libraries
> > > > > available for download. A list of what has changed is attached.
> > > >
> > > > This version doens't seem to be stripped.
<snip>
> > I'm thinking of adding the '-s' to the install command,
> > however this would strip all binaries produced, regardless if
> > they ran with the dist target or not, and I'm not sure if
> > this is a good thing.
<snip>
> Don't do that. If you apply strip-all to import libs they are useless.
> I belive that strip -g is safe.
I've added the strip command to the bindist section of the Makefile.in
for the mingw runtime:
bindist:
rm -rf $(distdir)
mkdir $(distdir)
chmod 755 $(distdir)
$(MAKE) install prefix=$(shell pwd)/$(distdir)$(dist_prefix)
strip -g $(distdir)/bin/*
strip -g $(distdir)/lib/*
rm -f $(distdir).tar.gz
cd $(distdir); \
$(TAR) $(TARFLAGS)cf ../$(distdir)$(TARFILEEXT) *
Similarly for the w32api Makefile.in:
bindist:
rm -rf $(distdir)
mkdir $(distdir)
chmod 755 $(distdir)
$(MAKE) install prefix=`pwd`/$(distdir)$(dist_prefix)
exec_prefix=`pwd`/$(distdir)$(dist_prefix)
strip -g $(distdir)/lib/*
rm -f $(distdir)$(TARFILEEXT)
cd $(distdir); $(TAR) $(TARFLAGS)cf ../$(distdir)$(TARFILEEXT) *
I've tested the w32api dist created by this change, and everything
I've tried to compile works fine. Are these changes appropriate?
Chris
--
Chris Sutcliffe
ir0nh34d@gmail.com
http://emergedesktop.org
http://ironhead.modblog.com
--
Chris Sutcliffe
ir0nh34d@gmail.com
http://emergedesktop.org
http://ironhead.modblog.com