I am trying to use the --loop_optimization_level=opt flag with ARM compiler in DS-5 (Version 5.13). I am using the -03 and -0time flags. I am getting an error when I build my project. How do I pass the loop optimization flag in DS-5?
which error
Hii,
I get an error saying that --loop_optimization_level cannot be recognized
by the compiler. I am passing this flag in the miscellaneous tab of the
Project Properties-> ARM Compiler dialog box.
The --loop_optimization_level=opt option has a restriction that it can only be used when both -O3 and -Otime options are given. Perhaps the -O3 and -Otime options are not specified.Alternatively, try using the command line for the source file in question shown in DS-5 Console window on a command prompt window and see if you get the same error. Compare this command to the one you may be using that does not give the error.
-O3
-Otime