Changes

Jump to: navigation, search

SDCC and CPC

588 bytes added, 10:10, 13 March 2015
</pre>
 
== Troubleshooting and optimisation ==
Because of defined parameter-passing between Assembler and C, many people used the sdcc-parameter --oldralloc in the past. But when your project gets too big, you will run into a fatal error saying Caught signal 11: SIGSEGV. You can use the new register-allocator with parameter --fno-omit-frame-pointer to prevent this problem.
 
 
Optimisation:
Keep in mind that your code shrinks quite well when using sdcc-parameter --max-allocs-per-node xyz. For xyz choose a high value, eg. 6000.
Also the parameters --opt-code-speed and --opt-code-size exist.
[[Category:C]] [[Category:Programming]]
56
edits