I am new in this field. Previously I was doing microcontroller programming where I used volatile variables to avoid compiler optimization. But I never saw such volatile declaration before variable declaration. Does it mean compilation is done without any optimization in Arago build. Here I have two questions.
How can I enable different types of optimization during compilation like speed and space optimization in Angstrom build?
If it is already an optimized compilation, why do we not need volatile declarations?