Re: How to tell whether .o was compiled with -g option

[email protected] (Karl Berry)
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
    How to tell whether .o was compiled with -g option?

Run
file foobar.o

If it says "not stripped", it was compiled with -g.

I'm sure this is not 100% accurate (in either direction), but it's one
hint, anyway.

Best,
karl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.