[fpc-devel] porting

Peter Vreman peter at freepascal.org
Sun Feb 6 12:52:32 CET 2005


> peter green wrote:
>
>> i want to atempt to port FPC to a new CPU target (PIC18F452)
>>
>> there don't seem to be any guides to starting a port. any idea where one
>> sohuld start when porting fpc.
>>
>> note: the cpu architecture in question has nowhere near enough power to
>> support the compiler so all compilation for this target will be cross
>> compiliation.
>
> Use an existing target as template, I recommend either arm or sparc.

Copy all files

Fill all ncpu*.pas methods with dummies.

Update the following units (in this order is the easiest):

cpubase
aasmcpu
cgcpu
cpupara






More information about the fpc-devel mailing list