Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-02

porting

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

peter green

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.

Reply by email

Florian Klaempfl
to peter green
peter green wrote 8 lines
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.

Start with cpubase then start implementing cgcpu.

Reply by email

Peter Vreman
to Florian Klaempfl
Show quoted text 12 lines
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

Reply by email