This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: look for host ranlib in configure
On Jan 3, 2001, Laurynas Biveinis <lauras@softhome.net> wrote:
> Alexandre Oliva wrote:
>> But the top-level Makefile.in will need some changes, because it
>> passes RANLIB down, overriding the setting in gcc/Makefile. The right
>> fix is to remove the setting of RANLIB from the top-level Makefile.in,
>> and pass it down in EXTRA_HOST_FLAGS with the XFOO= hack (see how
>> LANGUAGES is passed down).
> You mean, XFOO= hack with ranlib should be added to EXTRA_HOST_FLAGS, not
> EXTRA_GCC_FLAGS?
Hmm. I see EXTRA_HOST_FLAGS already passes RANLIB down; I hadn't
noticed EXTRA_GCC_FLAGS does too. And a number of rules pass the HOST
RANLIB down explicitly; these will be a tad bit harder to rewrite
portably.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me