From f5c3bf6e7e18f5dbb5af6da7f516187ce549aae5 Mon Sep 17 00:00:00 2001 From: "Thomas Trepl (Moody)" Date: Thu, 13 May 2021 18:30:55 +0200 Subject: Use a configuration option to set the loader pathes in ldd --- chapter05/glibc.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'chapter05/glibc.xml') diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 02ff025e2..8a28e4546 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -80,7 +80,8 @@ cd build --build=$(../scripts/config.guess) \ --enable-kernel=&min-kernel; \ --with-headers=$LFS/usr/include \ - libc_cv_slibdir=/usr/lib + libc_cv_slibdir=/usr/lib \ + libc_cv_rtlddir=/lib The meaning of the configure options: @@ -121,6 +122,14 @@ cd build + + libc_cv_rtlddir=/lib + + Fix hardcoded path to the executable loader in the + ldd script. + + + @@ -184,12 +193,12 @@ cd build - + At this point, it is imperative to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as -- cgit v1.2.3-54-g00ecf