How do I change the optimization level with Eclipse + CDT + MinGW?

I am writing C code with Eclipse + CDT + MinGW.

The compilation output always shows:

Info: Internal Builder is used for build
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o Math.o "..\\Math.c" 

      

How do I change command line options like -O0, -Wall?

(I'm new to the Eclipse IDE.)

+3


source to share


1 answer


For GCC, the setting is in project properties => C / C ++ Build => Settings => GCC C Compiler => Optimization.



enter image description here

+3


source







All Articles