On Mon, 2008-03-17 at 19:52 +0800, Max Waterman wrote: > Rob Bradford wrote:
> > Your .c: target should look like this: > > > > .c: > > $(CC) -g -Wall $(INCS) [EMAIL PROTECTED] $(LIBS) -o $@ > > > > (Notice the addition of -g.) > > > > Yes, I put that in deliberately. Is that an error? That's to stop the > compiler stripping out info I need for debug, no? I've even done Linux > development (Montevista linux on Motorola phones) so I should already > know this sort of thing - amazing what you can forget in a couple of > years :| No, your version was missing the '-g' you need the '-g' to get the line number information. This is different from stripping an object that already has the debug information in. The debug information also includes the path to the directory where the source code for the object was stored when it was compiled. This means that you usually don't need to tell gdb where to find the source code, if you've built it yourself. If you are trying to build against trunk then you'll want to update your Makefile to use the current clutter-0.7 pkg-config target. Cheerio, Rob -- To unsubscribe send a mail to [EMAIL PROTECTED]
