Re: how to debug glib
- From: jcupitt gmail com
- To: 小花海 <1243585005 qq com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: how to debug glib
- Date: Sun, 27 Aug 2017 09:57:10 +0100
Hello,
On 21 August 2017 at 17:57, 小花海 <1243585005 qq com> wrote:
These are steps I followed, after the source code is downloaded:
1) ./configure --enable-debug=yes
Try:
CFLAGS=-g ./configure --enable-debug=yes
That will install a new glib to /usr/local. Make sure when you compile
your test program that it links against this new glib, not the system
one. You may need to set PKG_CONFIG_PATH and possibly LD_LIBRARY_PATH.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]