From 68822fc77d6304f559f06acbd0d471716a43c383 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 11 Jun 2001 13:52:43 +0000 Subject: Fix bug in ldso/util/Makefile introduced when Erik added the readelf app. It didn't show up if a previous install was done. This would have been fixed two days ago if the initial bug report had been anything close to lucid. :-( Also changed ldconfig back to staticly linked and update the README file. --- README | 10 +++++++--- ldso/util/Makefile | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README b/README index 845294cd2..4e3ff9aec 100644 --- a/README +++ b/README @@ -1,13 +1,17 @@ -To build uClibc, +To build and install the uClibc development environment, 1) cp ./extra/Configs/Config. ./Config 2) Edit ./Config for your setup. 3) make -4) As root, make install +4) make install_dev (as root if necessary, depending on your Config) + + +To install the runtime environment, + make install_target (again, as root if necessary) To compile programs with uClibc, -export PATH={uClibc DEVEL_PREFIX/ROOT_DIR}/bin:$PATH + export PATH={uClibc DEVEL_PREFIX/ROOT_DIR}/bin:$PATH and then just ./configure and make as usual. diff --git a/ldso/util/Makefile b/ldso/util/Makefile index e61e1b62d..725fc9b8e 100644 --- a/ldso/util/Makefile +++ b/ldso/util/Makefile @@ -1,7 +1,7 @@ TOPDIR=../../ include $(TOPDIR)Rules.mak -CFLAGS=-Wall -Os -I- -I../../include -I. +CFLAGS=-Wall -Os -I- -I. --uclibc-use-build-dir CC = $(TOPDIR)extra/gcc-uClibc/$(NATIVE_ARCH)-uclibc-gcc all: ldconfig ldd readelf @@ -23,7 +23,7 @@ readelf: readelf.c $(CC) $(CFLAGS) readelf.c -o $@ ldconfig: ldconfig.o readsoname.o - $(CC) $(CFLAGS) $^ -o $@ + $(CC) $(CFLAGS) -static $^ -o $@ ldd: ldd.o readsoname.o $(CC) $(CFLAGS) $^ -o $@ -- cgit v1.2.3