6.14. Sed-4.8

The Sed package contains a stream editor.

Approximate build time: 0.1 SBU
Required disk space: 20 MB

6.14.1. Installation of Sed

Update helper scripts to allow cross compilation for loongarch:

tar xf ../config-20210826.tar.xz --strip-components=1 -C build-aux

Prepare Sed for compilation:

./configure --prefix=/usr   \
            --host=$LFS_TGT

Compile the package:

make

Install the package:

make DESTDIR=$LFS install

Details on this package are located in Section 8.29.2, “Contents of Sed.”