This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

$RANLIB not passed to libiberty


   I'm having a look at building GCC with OpenWatcom to reduce build
times. There seems to be something wrong with the build machinery:

$ diff -u {,build-i686-pc-linux-gnuaout/}libiberty/Makefile
--- libiberty/Makefile  2007-09-26 17:02:58.000000000 +0200
+++ build-i686-pc-linux-gnuaout/libiberty/Makefile      2007-09-26 17:04:00.000000000 +0200
@@ -56,7 +56,7 @@
 CC = owcc -O2 -mtune=i686
 CFLAGS = -g
 LIBCFLAGS = $(CFLAGS)
-RANLIB = owranlib
+RANLIB = ranlib
 MAKEINFO = makeinfo --split-size=5000000
 PERL = perl

The use of the wrong ranlib causes the build of fixincludes to fail. The
fixincludes directories don't have that problem.

My configure command was this:
CC='owcc -O2 -mtune=i686' RANLIB=owranlib ~/cvssrc/ia16-gcc/configure
--target=ia16-unknown-elf --enable-languages=c --with-newlib
--enable-checking=yes,rtl --prefix=$HOME/openwatcom --disable-shared
--with-{gmp,mpfr}=$HOME/openwatcom

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]