Author Topic: How can I tell whether a code has been compiled with or without optimization?  (Read 2475 times)

droman07

  • Guest
I compiled a code in codeblocks and someone asked me whether I compiled it with optimization or without optimization.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
1. Do full rebuild.
2. Inspect the build full build log.
3. Search the meaning of each option you see in the log in the manual of the compiler you're using.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7665
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org