Fwd: [MinGW-dvlpr] Fwd: [ANNOUNCEMENT] Updated: mingw-runtime-3.8-1
Chris Sutcliffe
ir0nh34d@gmail.com
Tue Aug 16 14:20:00 GMT 2005
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
More information about the Cygwin-apps
mailing list