News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How can I tell whether a code has been compiled with or without optimization?

Started by droman07, February 11, 2015, 07:34:24 PM

Previous topic - Next topic

droman07

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

oBFusCATed

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!]

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]