Quantcast
Viewing all articles
Browse latest Browse all 22159

What is the difference between -O0 ,-O1 and -g

I am wondering about the use of -O0,-O1 and -g for enabling debug symbols in a lib. Some suggest to use -O0 to enable debug symbols and some suggest to use -g.

So what is the actual difference between -g and -O0 and what is the difference between -01 and -O0 and which is best to use.


Viewing all articles
Browse latest Browse all 22159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>