devcpp optimisation options
Hi,
I just curious as to what the various optimisation options (more optimisation and even more optimisations) under compiler setting actually turns on? Which of those options are safe to turn on? Is it similar to g++, i.e. optimisation level above O2 are not safe.
thanks
Shaobo Ho
Quote:Original post by smr
If you're using devcpp, then you're probably using the gnu toolchain. that includes g++.
So, what do the optimisation options in the devcpp gui actually turns on?
Quote:Original post by shaobohou
So, what do the optimisation options in the devcpp gui actually turns on?
Open up the makefile that devcpp produces (should be in the same folder as your project), and find the line beginning with "CPP_FLAGS =", that should contain all the options sent to g++.
Under Linux (so presumably Windows too with GNU tools) it's usually CXXFLAGS. CPPFLAGS is for the preprocessor.
Quote:Original post by ZQJ
Under Linux (so presumably Windows too with GNU tools) it's usually CXXFLAGS. CPPFLAGS is for the preprocessor.
Your right, sorry for the misinformation.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement