mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Simplified symbolic link creation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@275 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
ceb35fb927
commit
017a4f4aa2
@ -15,7 +15,7 @@ Install Fileutils by running the following commands:
|
||||
<userinput>make LDFLAGS=-static &&</userinput>
|
||||
<userinput>make install &&</userinput>
|
||||
<userinput>cd $LFS/usr/bin &&</userinput>
|
||||
<userinput>ln -s ../../bin/install install</userinput>
|
||||
<userinput>ln -s ../../bin/install</userinput>
|
||||
|
||||
</literallayout></blockquote>
|
||||
|
||||
|
@ -9,13 +9,13 @@ use the --enable-languages parameter.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp:</userinput> This
|
||||
<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This
|
||||
creates the $LFS/lib/cpp symlink. Some packages explicitely try to find
|
||||
cpp in /lib.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp:</userinput> This
|
||||
<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This
|
||||
creates the $LFS/usr/lib/cpp symlink as there are packages that expect
|
||||
cpp to be in /usr/lib.
|
||||
</para>
|
||||
|
@ -22,10 +22,10 @@ running the following commands:
|
||||
<userinput> gxx_include_dir=$LFS/usr/include/g++
|
||||
install &&</userinput>
|
||||
<userinput>cd $LFS/lib &&</userinput>
|
||||
<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp cpp
|
||||
<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp
|
||||
&&</userinput>
|
||||
<userinput>cd $LFS/usr/lib &&</userinput>
|
||||
<userinput>ln -s gcc-lib/*/2.95.2.1/cpp cpp
|
||||
<userinput>ln -s gcc-lib/*/2.95.2.1/cpp
|
||||
&&</userinput>
|
||||
<userinput>cd $LFS/usr/bin &&</userinput>
|
||||
<userinput>ln -s gcc cc</userinput>
|
||||
|
@ -20,8 +20,8 @@ needing later on.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>ln -s ../src/linux/include/linux linux</userinput> and
|
||||
<userinput>ln -s ../src/linux/include/asm asm:</userinput> These
|
||||
<userinput>ln -s ../src/linux/include/linux</userinput> and
|
||||
<userinput>ln -s ../src/linux/include/asm:</userinput> These
|
||||
commands create the linux and asm symlinks in the $LFS/usr/include
|
||||
directory that point to the proper directories in the Linux source tree.
|
||||
Packages that need kernel headers include them with lines like #include
|
||||
|
@ -40,8 +40,8 @@ following commands:
|
||||
<blockquote><literallayout>
|
||||
|
||||
<userinput>cd $LFS/usr/include &&</userinput>
|
||||
<userinput>ln -s ../src/linux/include/linux linux &&</userinput>
|
||||
<userinput>ln -s ../src/linux/include/asm asm</userinput>
|
||||
<userinput>ln -s ../src/linux/include/linux &&</userinput>
|
||||
<userinput>ln -s ../src/linux/include/asm</userinput>
|
||||
|
||||
</literallayout></blockquote>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user