> 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



_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to