Difference between revisions of "FPC Internals/CPU Target"
From Lazarus wiki
Jump to navigationJump to searchm (→See Also) |
m (Fix typos) |
||
Line 1: | Line 1: | ||
==Nodes== | ==Nodes== | ||
− | |||
− | + | There might be a need to override the code generated by the nodes, (assuming code generation pass (aka pass2) is used). | |
+ | The CPU target should supply '''cpunode.pas''' in its directory. The unit should have no code written in it. Instead it should only use the unit responsible for the CPU target specific initializations. | ||
+ | |||
+ | ==See also== | ||
− | |||
*[[FPC Internals]] | *[[FPC Internals]] | ||
+ | |||
+ | [[Category:FPC]] | ||
[[Category:FPC internals]] | [[Category:FPC internals]] |
Revision as of 13:18, 10 August 2020
Nodes
There might be a need to override the code generated by the nodes, (assuming code generation pass (aka pass2) is used).
The CPU target should supply cpunode.pas in its directory. The unit should have no code written in it. Instead it should only use the unit responsible for the CPU target specific initializations.