Forum Discussion
Altera_Forum
Honored Contributor
21 years agoTo change the optimization level using something like this (type nios-build --help in case I messed up this line).
nios-build --base=<base address> -O<optimization level> -o<output file name> -O0 is no optimization -O3 is maximum optimization -Os is a size optimization (which often turns into a speed optimization as a bonus). Like I said I would check the help first since I haven't compiled for Nios I in a while.