bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19111: 25.0.50; 32 bits temacs.exe is linked with wrong image-base w


From: Glenn Morris
Subject: bug#19111: 25.0.50; 32 bits temacs.exe is linked with wrong image-base when built on 64 bit Windows host
Date: Fri, 21 Nov 2014 20:05:46 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Óscar Fuentes wrote:

> +      t=$($cc -v 2>&1 | grep "^Target: ")
> +      t=`echo $t | sed -e 's/Target: //'`

You can do that in one, eg:
t=`$cc -v 2>&1 | sed -n 's/^Target: *//p'`


https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Shell-Substitutions.html
also recommends to avoid $(), though I note we fail on that front already.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]