https://gcc.gnu.org/g:e11c795b09a4b3238dd10e642b9cc406604ac95a

commit r15-5873-ge11c795b09a4b3238dd10e642b9cc406604ac95a
Author: David Malcolm <dmalc...@redhat.com>
Date:   Mon Dec 2 17:29:56 2024 -0500

    libgdiagnostics: fix a missing rename in the docs
    
    gcc/ChangeLog:
            * doc/libgdiagnostics/tutorial/01-hello-world.rst: Update linker
            command for renaming.
    
    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Diff:
---
 gcc/doc/libgdiagnostics/tutorial/01-hello-world.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/doc/libgdiagnostics/tutorial/01-hello-world.rst 
b/gcc/doc/libgdiagnostics/tutorial/01-hello-world.rst
index 67f54c04f237..6596734546fb 100644
--- a/gcc/doc/libgdiagnostics/tutorial/01-hello-world.rst
+++ b/gcc/doc/libgdiagnostics/tutorial/01-hello-world.rst
@@ -41,7 +41,7 @@ using:
   $ gcc \
       tut01-hello-world.c \
       -o tut01-hello-world \
-      -ldiagnostics
+      -lgdiagnostics
 
 You should then be able to run the built program:

Reply via email to