Cross compilation and RANLIB_TEST
Axel Thimm
Axel.Thimm@physik.fu-berlin.de
Fri Mar 12 06:07:00 GMT 1999
In Makefile.in there are two sets of RANLIB variables, one for the host and
one for the target system. RANLIB_TEST should only test for the host ranlib,
but actually fails to find ranlib (unless RANLIB has been specified by the
user). Are my assumptions right? Then here is a tiny patch for today's
sources:
--- Makefile.in 1999/03/05 13:21:21 1.239
+++ Makefile.in 1999/03/12 13:53:36
@@ -118,8 +118,7 @@
# Test to use to see whether ranlib exists on the system.
RANLIB_TEST = \
[ -f $(RANLIB) ] \
- || ( [ "$(host_canonical)" = "$(target)" ] \
- && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )
+ || [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
# Compiler to use for compiling libgcc1.a.
# OLDCC should not be the GNU C compiler,
--
Axel.Thimm@physik.fu-berlin.de Axel.Thimm@ifh.de
More information about the Gcc
mailing list