From efcb3933433838b71f3a4a53ec1ac6d899aaec0b Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 3 May 2020 21:02:51 +0000 Subject: Make the new book git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gawk.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'chapter05/gawk.xml') diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml index adcd2ea15..d5b5d6d8d 100644 --- a/chapter05/gawk.xml +++ b/chapter05/gawk.xml @@ -43,23 +43,23 @@ Installation of Gawk + First, ensure some unneeded files are not installed: + +sed -i 's/extras//' Makefile.in + Prepare Gawk for compilation: -./configure --prefix=/tools +./configure --prefix=/usr \ + --host=$LFS_TGT \ + --build=$(./config.guess) Compile the package: make - Compilation is now complete. As discussed earlier, running the test - suite is not mandatory for the temporary tools here in this chapter. To run - the Gawk test suite anyway, issue the following command: - -make check - Install the package: -make install +make DESTDIR=$LFS install -- cgit v1.2.3-54-g00ecf