Re: how to debug glib



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]