Changes between Initial Version and Version 1 of Ticket #4033, comment 9


Ignore:
Timestamp:
2021-02-04T11:20:00Z (4 years ago)
Author:
Francesco Casella

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4033, comment 9

    initial v1  
    1 https://github.com/OpenModelica/OpenModelica/blob/master/OMCompiler/Compiler/Template/CodegenC.tpl#L6202
     1> and is hardcoded in the Makefile).
    22
    3 I have no idea why we use {{{-Os}}} by default (and is hardcoded in the Makefile).
    4 We should have a setting for it in Tools->Options->Simulation right below the compiler setting.
     3So we could simply change it there to {{{-O0}}}, or just remove it, since I understand that's the default option for clang.
     4
     5> We should have a setting for it in Tools->Options->Simulation right below the compiler setting.
     6
     7Yes, we could have it as a GUI option. Maybe we should make some evaluations on what are the more useful settings ({{{-Os}}}? {{{-O3}}}?)
    58
    69Truth is that right now you can press S and then add {{{-O0}}} in "C/C++ compiler flags (Optional)".