Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi cloud,
Extracted from the gprof manual (which was not included in Nios II 1.0, but it is in 1.0 SP1 and beyond). "In addition to the -pg and -g options, older versions of GCC required you to specify the -a option when compiling in order to instrument it to perform basic-block counting. Newer versions do not require this option and will not accept it; basic-block counting is always enabled when -pg is on." Jonah