gstreamer and plug-in: how to compile with -O0 not -O2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer and plug-in: how to compile with -O0 not -O2

bcxa sz
Hi Developers,

I need to debug one issue which makes the application pending. But the
gdb can not tells too much since the gstreamer is compiled with -O2.

And can you let me know how to configure to make gstreamer compile
with -O0 not -O2?

thanks
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer and plug-in: how to compile with -O0 not -O2

Tim-Philipp Müller-2
On Mon, 2011-04-11 at 16:45 +0800, bcxa sz wrote:

> I need to debug one issue which makes the application pending. But the
> gdb can not tells too much since the gstreamer is compiled with -O2.
>
> And can you let me know how to configure to make gstreamer compile
> with -O0 not -O2?

make CFLAGS='-ggdb -O0'

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel