OT: Why -g when compiling

Michael Hudson mwh at python.net
Tue Dec 23 18:49:24 CET 2003


miki.tebeka at zoran.com (Miki Tebeka) writes:

> Hello All,
> 
> Can anyone tell me why when builiding Python gcc gets "-g" option as well as "-O3"?
> Apart from bigger objects what does "-g" gives a non-developer of Python?

It means if you manage to core python, we can hold your hands to find
out with gdb where it's crashed.  Why do you ask?  Disk space is cheap.

Cheers,
mwh

-- 
  I'll write on my monitor fifty times 'I must not post self-indulgent
  wibble nobody is interested in to ucam.chat just because I'm bored
  and I can't find the bug I'm supposed to fix'.
                                            -- Steve Kitson, ucam.chat




More information about the Python-list mailing list