gcc: Fix libcc1 description

libcpp is the preprocessor library, but it's a static library which is
only used by GCC itself and not installed.

libcc1 is actually a library for GDB to "compile" expressions, so we can
use fancy expressions in commands, like "print sin(x + 2.0)": the
expression sin(x + 2.0) needs to be "compiled" for evaluation.
This commit is contained in:
Xi Ruoyao 2024-01-22 01:32:56 +08:00
parent 24d03240bf
commit 46b5c6b63b
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -534,7 +534,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
<varlistentry id="libcc1">
<term><filename class="libraryfile">libcc1</filename></term>
<listitem>
<para>The C preprocessing library</para>
<para>A library that allows GDB to make use of GCC</para>
<indexterm zone="ch-system-gcc libcc1">
<primary sortas="b-libcc1">libcc1</primary>
</indexterm>