Forum Discussion
Altera_Forum
Honored Contributor
17 years agooptimize the size of a C program????
hi, i have write a C program with 20 line of code, i try optimize it with NIOS II compliler option like -Os, -g3 i obtain 7700 bytes but is not sufficient for my design, because i use an onchip m...
Altera_Forum
Honored Contributor
17 years agoHave you tried customizing the system library? This can make a relatively big difference when your actual program is quite small.
For example, in the system library you can disable C++ support as well as enable "reduced device drivers" and "small C library".