Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAdding runtime parameter in eclipse
Hello, I am trying to debug by code in eclipse of Quartus 13.1. Usually to generate the elf, I set the run time parameter in the makefile using CFLAG in nios2command shell as below: --set ...
Altera_Forum
Honored Contributor
11 years agoThe macro name you define must appear in the command line arguments passed to the compiler. As I recall, CPPFLAGS isn't there. Try putting your -dparameter=value in CFLAGS instead of CPPFLAGS. You could also modify the command line arguments to include $(cppflags)