]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgdiagnostics: fix a missing rename in the docs
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 2 Dec 2024 22:29:56 +0000 (17:29 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 2 Dec 2024 22:30:46 +0000 (17:30 -0500)
gcc/ChangeLog:
* doc/libgdiagnostics/tutorial/01-hello-world.rst: Update linker
command for renaming.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/doc/libgdiagnostics/tutorial/01-hello-world.rst

index 67f54c04f237eafc99c0f51ba11a055b8dd6b900..6596734546fbd53e37c243ad118c238deb0c028b 100644 (file)
@@ -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: