Re: Glom's Edit, compile, debug cycle



On Wed, 2006-11-01 at 11:20 +0100, Murray Cumming wrote:
On Wed, 2006-11-01 at 20:33 +1030, Craig Keogh wrote:
Ok. Starting to understand. I should be debugging .libs/lt-glom rather
than .libs/glom.

.libs/lt-glom will use libglom.so from the development area (good).
.libs/glom will use the libglom.so from the install area (bad).

Now, the problem is when I run 'make', .libs/lt-glom gets deleted.
How do I get make to build .libs/lt-glom rather than .libs/glom?

I have noticed that running glom causes .libs/lt-glom to be created.


But that requires:
1. run 'make'. .libs/glom is linked.
2. run script 'glom/glom'. .libs/lt-glom is linked.
3. wait for glom to start.
4. exit glom.
5. start lt-glom with debugger.


This requires glom to link twice, once for .libs/glom and
for .libs/lt-glom. And glom takes ages to link as it is, I don't want to
do it twice.

Yes, I could attach the debugger to the running glom at step 3, but I
thought there maybe an easier way?

--
Craig Keogh




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]