Adriaan van Os wrote:
However, Mac OS X crashreporter still gives me backtraces with routine names and line numbers. Is this expected behaviour ?
Sorry, I were wrong, -g0 gives me routine names in backtraces but not line numbers nor source file names.
AFAIK, that's expected as long as you don't strip the executable (`-s' or using the `strip' utility). Since global symbols must be known at link time, anyway, they're available even without debug info.
Frank