Difference between revisions of "FPC Internals/CPU Target"
From Lazarus wiki
Jump to navigationJump to searchm (→See Also) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{FPC_Internals/CPU_Target}} | ||
+ | |||
+ | back to contents [[FPC internals]] | ||
+ | |||
==Nodes== | ==Nodes== | ||
− | |||
− | The | + | 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]] | ||
+ | [[Category:FPC internals]]--> |
Latest revision as of 13:03, 28 December 2020
│
English (en) │
français (fr) │
back to contents FPC internals
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