Recently, I discover that gcc compiler can be configured to this "gcc -O2 test.c -march=native". But, how can I suppose to set the compiler in orwell dev c++? I wish to tune my program to maximum performance. Please kindly guide me on this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you want to set the compiler options for each project, use the Project menu, Project Options (Alt+P), go to the Compiler tab.
If you want to set the default compiler options use the Tools/Compiler Options menu. I recommend you set the default options with no active project loaded.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
alt-P compiler tab, code generation sub-tab then optimization level. select medium
that will give the -O2 option. Try out other options for faster or smaller code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Recently, I discover that gcc compiler can be configured to this "gcc -O2 test.c -march=native". But, how can I suppose to set the compiler in orwell dev c++? I wish to tune my program to maximum performance. Please kindly guide me on this.
If you want to set the compiler options for each project, use the Project menu, Project Options (Alt+P), go to the Compiler tab.
If you want to set the default compiler options use the Tools/Compiler Options menu. I recommend you set the default options with no active project loaded.
alt-P compiler tab, code generation sub-tab then optimization level. select medium
that will give the -O2 option. Try out other options for faster or smaller code.