Difference between revisions of "FPC Internals/CPU Target"

From Lazarus wiki
Jump to navigationJump to search
m (Fix typos)
Line 1: Line 1:
 
==Nodes==
 
==Nodes==
There might 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 into it. instead it should only use the unit responsible for the CPU target specific initializations.
+
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==
  
==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.

See also