mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
docs: fix helloworld compile command line for newer gcc
https://bugzilla.gnome.org/show_bug.cgi?id=656092
This commit is contained in:
parent
3029a222e8
commit
e77098101f
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue