This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: (toplevel patch) Real make targets for configure-target-*
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patches at sources dot redhat dot com, binutils at sources dot redhat dot com, dj at redhat dot com
- Date: 13 Dec 2002 11:05:37 -0200
- Subject: Re: (toplevel patch) Real make targets for configure-target-*
- Organization: GCC Team, Red Hat
- References: <20021203163033.GA7829@doctormoo>
On Dec 3, 2002, Nathanael Nerode <neroden@twcny.rr.com> wrote:
> +# BASE_CC_FOR_TARGET is the actual program file of CC_FOR_TARGET,
> +# for use in dependencies. Replace $$r with a relative
> +# path if it's present.
> +set dummy $CC_FOR_TARGET; cc_for_target_first_word=$2
> +BASE_CC_FOR_TARGET=`echo "$cc_for_target_first_word" | sed -e 's,[$][$]r,.,'`
Beware CC_FOR_TARGET starting with env_var=content. You may want to
strip words containing `=' before setting it.
(yeah, I've actually run into this, while playing with distcc for gcc
bootstrapping, having to override DISTCC_HOSTS)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer