On Mon, 2008-03-17 at 19:16 +0800, Max Waterman wrote:
> Rob Bradford wrote:
> > On Mon, 2008-03-17 at 10:31 +0800, Max Waterman wrote:

> "Automatically?". I had assumed I have to specifically link with the 
> debug libs; but when I try, I get OpenGL link errors.

"OpenGL link errors" ?

The debug packages work by putting the stripped out debug information
into /usr/lib/debug and modifying the ELF headers of the stripped
library to tell it where to look. GDB then uses this to find the debug
information and load it in.

> > Similarly if you build from trunk
> > you'll find that it gets built with line number information included.
> >
> > If you want something graphical, don't use Eclipse it doesn't work very
> > well. I'd recommend Nemiver or Anjuta.
> >   
> Well, I don't much care for graphical things, but it does seem to be 
> popular and thought it was worth learning while I had something to use 
> it for. I can't say I've been impressed, but I've been trying to reserve 
> judgement until I've tried harder :|
> 

I was able to checkout and compile your 'clutterfly' demo and it sort of
worked for me ;-)

However I noticed a bug in your Makefile that means you won't get
debugging information for you own code:

Your .c: target should look like this:

.c:
        $(CC) -g -Wall $(INCS) [EMAIL PROTECTED] $(LIBS) -o $@

(Notice the addition of -g.)

And wrt. to your comment about #clutter, you're probably going to have
most luck 10-6 Monday to Friday UK time.

Regards,

Rob

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to