1234567891011121314151617 |
- <sect2>
- <title>Installation of Sh-utils</title>
- <para>Before Sh-utils is installed, the sh-utils patch file needs
- to be unpacked. This patch file is necessary to avoid a conflict of
- variable names with glibc when compiling and linking statically.<</para>
- <para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch &&</userinput>
- <userinput>./configure --prefix=$LFS/usr --disable-nls &&</userinput>
- <userinput>make LDFLAGS=-static &&</userinput>
- <userinput>make install &&</userinput>
- <userinput>cd $LFS/usr/bin &&</userinput>
- <userinput>mv date echo false pwd stty $LFS/bin &&</userinput>
- <userinput>mv su true uname hostname $LFS/bin</userinput></screen></para>
- </sect2>
|