Forum Discussion
Altera_Forum
Honored Contributor
19 years agoSeveral things to suggest here:
1. Use the "Run time stack checking" option, available on the System Library Properties page in the IDE. "Debug..." (don't "Run...") your code after setting this option. - This should give an idea of how much space your code requires, during runtime. 2. gmon.out will not be produced unless your code successfully exits (by calling exit()). - If your code doesn't exit (most does not), you've got to change it such that it does. - Changing your code so that it returns from main() should be enough. Cheers, - slacker