ELF preparation step 2:

Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
This commit is contained in:
Søren Schmidt
1998-05-26 20:12:56 +00:00
parent bcd26b5b67
commit cabb97dcbf
16 changed files with 107 additions and 88 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.179 1998/05/18 03:28:02 jb Exp $
# $Id: Makefile,v 1.180 1998/05/25 17:34:34 sos Exp $
#
# While porting to the another architecture include the bootstrap instead
# of the normal build.
@@ -645,7 +645,8 @@ _libm= lib/msun
#
bootstrap-libraries:
.for _lib in ${_csu} gnu/usr.bin/cc/libgcc lib/libtermcap \
gnu/lib/libregex lib/libc lib/libcurses lib/libedit ${_libm} \
gnu/lib/libregex gnu/lib/libreadline lib/libc \
lib/libcrypt lib/libcurses lib/libedit ${_libm} \
lib/libmd lib/libutil lib/libz usr.bin/lex/lib
.if exists(${.CURDIR}/${_lib})
cd ${.CURDIR}/${_lib}; \