GP2X Were To Optimize Code In Dev-c++


GP2X_Coder

Member
Joined
May 17, 2006
Messages
220
Age
51
Location
USA
Website
mysite.verizon.net
Were do I place the compiler options -O2 or -O3 at?
Do I go to TOOLS->COMPILER OPTIONS check the add the following comands when calling the compiler or check add these commands to the linker command line and put the -O options in empty box.


Or do I go to:
PROJECT->PROJECT OPTIONS->PARAMETERS and add command line options in the empty box compiler or c++ compiler or both?

I am coding in C++
 
Project -> Project options -> Compiler -> Optimisation -> Further optimisations.

The options there correspond to -O1, -O2, and -O3 respectively.
 
Were do I place the compiler options -O2 or -O3 at?
Do I go to TOOLS->COMPILER OPTIONS check the add the following comands when calling the compiler

That one. They're compiler options, not linker options.


Thanks.
Please read my modified post. I was silly and posted before I'd checked. My first reply would work but wasn't the cleanest way.
 
Last edited by a moderator:
Back
Top