docs: fix helloworld compile command line for newer gcc
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 7 Aug 2011 08:14:50 +0000 (09:14 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 7 Aug 2011 08:14:50 +0000 (09:14 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=656092

docs/manual/basics-helloworld.xml

index 79b366c..55399fb 100644 (file)
@@ -222,10 +222,10 @@ main (int   argc,
     <title>Compiling and Running helloworld.c</title>
     <para>
       To compile the helloworld example, use: <command>gcc -Wall
-      $(pkg-config --cflags --libs gstreamer-&GST_MAJORMINOR;)
-      helloworld.c -o helloworld</command>. &GStreamer; makes use of
-      <command>pkg-config</command> to get compiler and linker flags
-      needed to compile this application.
+      helloworld.c -o helloworld
+      $(pkg-config --cflags --libs gstreamer-&GST_MAJORMINOR;)</command>.
+      &GStreamer; makes use of <command>pkg-config</command> to get compiler
+      and linker flags needed to compile this application.
     </para>
     <para>
       If you're running a non-standard installation (ie. you've installed
@@ -237,8 +237,8 @@ main (int   argc,
       In the unlikely case that you are using an uninstalled GStreamer
       setup (ie. gst-uninstalled), you will need to use libtool to build the
       hello world program, like this: <command>libtool --mode=link gcc -Wall
-      $(pkg-config --cflags --libs gstreamer-&GST_MAJORMINOR;)
-      helloworld.c -o helloworld</command>.
+      helloworld.c -o helloworld
+      $(pkg-config --cflags --libs gstreamer-&GST_MAJORMINOR;)</command>.
     </para>
     <para>
       You can run this example application with <command>./helloworld