| Store | Cart

[perl #122379] [patch] fix cross-compile strip support

From: James E Keenan via RT <perl...@perl.org>
Sun, 26 Feb 2017 15:00:35 -0800
On Thu, 24 Jul 2014 14:32:10 GMT, qd1q...@20minutemail.com wrote:
> On Thu Jul 24 06:45:55 2014, Hugmeir wrote:> > Patch looks good to me, but it's missing updating the canned configs> > to add strip="strip", just in case.> > Also, four super safety, maybe modify installperl to use "strip" as a> > default, in case $Config{strip} is somehow empty/undefined?> > Second fix> > > @@ -2441,6 +2442,7 @@> > nm> > nroff> > perl> > pg> > +strip> > test> > uname> > zip> > add strip to `trylist'. Code block after `trlist' definition try to> find utility from `trylist`. If strip utility exists in your system> strip var will be set to 'strip'. I think it is good way.> > Next fix redefine strip var only in cross-compile mode.> > > @@ -2857,13 +2859,14 @@ $define|true|[yY]*)> > # leave out ld, choosing it is more complex> > nm=`$echo $cc|$sed 's/-g[c\+][c\+]/-nm/'`> > ranlib=`$echo $cc|$sed 's/-g[c\+][c\+]/-ranlib/'`> > strip=`$echo $cc|$sed 's/-g[c\+][c\+]/-strip/'`> > In all other cases strip var will be `strip' if strip utility exists> in your host system and installperl will call `strip' utility from> your $PATH.

tux, hugmeir:  Can we get an update on the status of this RT?

Thank you very much.

-- 
James E Keenan (jkee...@cpan.org)

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=122379

Recent Messages in this Thread
James E Keenan via RT Feb 26, 2017 11:00 pm