diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-08-07 09:14:50 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-08-07 09:14:50 +0100 |
commit | e77098101fc51a7f42d7f5eaee0ff1350744cb56 (patch) | |
tree | 70a5b3a79229bd73c04fc43f9d9a9ca6564a1ecc | |
parent | 3029a222e8db1b7b1de4c6ee344a4337086cb804 (diff) |
docs: fix helloworld compile command line for newer gcc
https://bugzilla.gnome.org/show_bug.cgi?id=656092
-rw-r--r-- | docs/manual/basics-helloworld.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/manual/basics-helloworld.xml b/docs/manual/basics-helloworld.xml index 79b366c42..55399fbb6 100644 --- a/docs/manual/basics-helloworld.xml +++ b/docs/manual/basics-helloworld.xml @@ -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 |