User Tools

Site Tools


command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
command [2015/01/06 18:27]
czerny
command [2015/01/06 18:41] (current)
czerny
Line 22: Line 22:
     return 0;     return 0;
 } }
-</​code ​c>+</​code>​ 
 + 
 +Now you can change some project settings. Select '​Project'​ --> '​Project Options':​ 
 + 
 +  * In the '​Compiler'​ tab, '​Optimizations'​ change '​Maximize speed' to '​None'​. The Pelles C optimizer has some errors. This is not helpfull to beginners. So we don't use them. 
 +  * To use the debugger to step through your code, select 'Debug information'​ --> '​Full'​ in the '​Compiler'​ tab and 'Debug information'​ --> '​CodeView COFF format'​ in the '​Linker'​ tab. 
 +  * Click '​ok'​ to leave the '​Project Options'​ dialog. 
 + 
 +Now you can use '​Project'​ --> '​Build'​ (or '​Rebuild'​) to compile your project. 
 + 
 +Then it is possible to use '​Project'​ --> '​Execute'​ to run '​test.exe'​ or to use '​Project'​ --> '​Debug'​ to start the debugger. 
 + 
 +That's it! 
  
command.txt · Last modified: 2015/01/06 18:41 by czerny