From: David Malcolm Date: Mon, 2 Dec 2024 22:29:56 +0000 (-0500) Subject: libgdiagnostics: fix a missing rename in the docs X-Git-Tag: basepoints/gcc-16~3680 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11c795b09a4b3238dd10e642b9cc406604ac95a;p=thirdparty%2Fgcc.git 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 --- 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: