mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
added commands to remove the ()/usr/*-gnu directory
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1794 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
6547aa1020
commit
5fb9eb8119
@ -35,6 +35,10 @@
|
||||
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>April 5th, 2002 [gerard]: Chapter 05+06 - GCC: Added
|
||||
commands to remove the <filename class="directory">/usr/*-gnu</filename>
|
||||
directory.</para>
|
||||
|
||||
<listitem><para>April 4th, 2002 [gerard]: Chapter 05 - Diffutils: Added
|
||||
--disable-nls</para></listitem>
|
||||
|
||||
|
@ -31,5 +31,11 @@ cpp in /lib.</para>
|
||||
creates the $LFS/usr/lib/cpp symlink as there are packages that expect
|
||||
cpp to be in /usr/lib.</para>
|
||||
|
||||
<para><userinput>rmdir $LFS/usr/*-gnu/include</userinput> and
|
||||
<userinput>rmdir $LFS/usr/*-gnu</userinput>: These directories are created
|
||||
as empty directories by GCC and serve absolutely no purpose whatsoever.
|
||||
It's related to cross-compilers but that doesn't apply to us and it's
|
||||
considered a bug in GCC that you can't turn that off, especially since they
|
||||
end up being empty directories. So we remove them manually.</para>
|
||||
</sect2>
|
||||
|
||||
|
@ -21,7 +21,9 @@ ln -sf ../usr/bin/cpp &&
|
||||
cd $LFS/usr/lib &&
|
||||
ln -sf ../bin/cpp &&
|
||||
cd $LFS/usr/bin &&
|
||||
ln -sf gcc cc</userinput></screen></para>
|
||||
ln -sf gcc cc &&
|
||||
rmdir $LFS/usr/*-gnu/include &&
|
||||
rmdir $LFS/usr/*-gnu</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -29,7 +29,9 @@ ln -sf ../usr/bin/cpp &&
|
||||
cd /usr/lib &&
|
||||
ln -sf ../bin/cpp &&
|
||||
cd /usr/bin &&
|
||||
ln -sf gcc cc</userinput></screen></para>
|
||||
ln -sf gcc cc &&
|
||||
rmdir /usr/*-gnu/include &&
|
||||
rmdir /usr/*-gnu</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user