Menu

How configure compiler setting in orwell dev c++?

Kansor
2013-10-03
2014-07-06
  • Kansor

    Kansor - 2013-10-03

    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.

     
    • FurryGuy

      FurryGuy - 2014-07-06

      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.

       
  • tim

    tim - 2013-10-03

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.