Forum Discussion
Altera_Forum
Honored Contributor
9 years agoWhere setup compiler mode (e.g. -std=C99 or -std=C11)
Hello, Where is location in Eclipse NIOS II settings, where compiler mode can be set. For example I want to change for more advanced mode (c99 or c11) in order to allow internal loop variable...
Altera_Forum
Honored Contributor
9 years agoI advanced in my exploration of this issue.
Here are key points of my investigations:- Setting, where the compiler options can be specified is located here: Project Properties --> Nios II Application Properties --> User flags:
- Options that contain the '=' sign (e.g. -std=c99) can't be set via GUI ... as interface merely reject such options !!! Perhaps tool bug
- The only location where it can be done (at least I've found only this way) is corresponding section in the makefile (fragment below)