[Top][All Lists]

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

Re: PATCH: make install-strip in cross-compilation environments

From: Alexandre Oliva
Subject: Re: PATCH: make install-strip in cross-compilation environments
Date: 24 Jan 2001 00:59:16 -0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

On Jan 23, 2001, Alexandre Duret-Lutz <address@hidden> wrote:

>   INSTALL_STRIP_PROGRAM=$$(topsrc_dir)/$(install_sh) -s

> and then

> install-strip:

> So that $(topsrc_dir) gets evaluated in the sub-make.  From
> the simulation below, it appears to work fine.  The question is,
> is it portable?  I mean, will any make perform variable substitution
> in command line arguments?

I don't think so.  But then, you can always use:

INSTALL_STRIP_PROGRAM=`cd $$(top_srcdir) && pwd`/$(install_sh)


Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  address@hidden,}
CS PhD student at IC-Unicamp        address@hidden,}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

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