diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-06-21 14:35:58 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-06-21 14:35:58 +0800 |
commit | 0fe3bb04a7aea4fa162af5840026c672393354f7 (patch) | |
tree | 03540c996c7d125977bb74ddcaa5558c90f62ba9 /chapter08/gcc.xml | |
parent | 89375e276b044c87c02ea8b244def909cde11a01 (diff) |
Create man page symlinks for awk, cc, pkg-config, and lex
Diffstat (limited to 'chapter08/gcc.xml')
-rw-r--r-- | chapter08/gcc.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 482b588db..43f699689 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -215,12 +215,14 @@ su tester -c "PATH=$PATH make -k check"</userinput></screen> for "historical" reasons.</para> <screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen> - <!-- already done earlier + <para>Many packages use the name <command>cc</command> to call the C - compiler. To satisfy those packages, create a symlink:</para> + compiler. We've already created <command>cc</command> as a symlink in + <xref linkend='ch-tools-gcc-pass2'/>, create its man page as a symlink + as well:</para> + +<screen><userinput remap="install">ln -sv gcc.1 /usr/share/man/man1/cc.1</userinput></screen> -<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen> - --> <para>Add a compatibility symlink to enable building programs with Link Time Optimization (LTO):</para> |