Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

ModusToolbox™ General Forum Discussions

Andreas_Heder
Level 2
Level 2
10 replies posted 25 sign-ins First like received

Hey,

It looks like I have no influence on the optimization level when i change the:

"CFLAGS="  -Og,-O0 ,... and so on. in the make file. What i have to do exactly? 

Change the Make file, save, recompile all ? Or i do missing something?

 

Thanks and best regards

Andreas

 

 

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi Andreas, 

Adding the compiler flags to the CFLAGS makefile variable should incorporate the compiler flags into the build. Can you please open the modus shell, traverse to your makefile directory and run make build VERBOSE=true command. This should display all the compiler flags that are used during the build process.

You can search modus-shell in your Windows Start to open up modus-shell. Makefile directory would be the folder in which your application's makefile exists.

Please let me know if you face any issues.

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi Andreas, 

Adding the compiler flags to the CFLAGS makefile variable should incorporate the compiler flags into the build. Can you please open the modus shell, traverse to your makefile directory and run make build VERBOSE=true command. This should display all the compiler flags that are used during the build process.

You can search modus-shell in your Windows Start to open up modus-shell. Makefile directory would be the folder in which your application's makefile exists.

Please let me know if you face any issues.

Thanks and Regards,
Rakshith M B
0 Likes