[fpc-pascal] Best start point for adding new FPC target

Sven Barth pascaldragon at googlemail.com
Wed Jan 29 14:10:32 CET 2020


Karoly Balogh (Charlie/SGR) <charlie at scenergy.dfmk.hu> schrieb am Mi., 29.
Jan. 2020, 01:22:

> However, you need to add the new target it to the build system, and the
> compiler, which is quite complicated, as a system ID and various
> properties have to be added to quite a few places (compiler,
> /systems/t_bsd.pas, systems.pas, ppudump, FPMake and FPCMake, then
> regenerate all the Makefiles...) So it's quite an undertaking, not really
> feasible for submitting a simple patch. However, if you want I can assist
> in that part, so you can just iterate on the RTL, by having a working
> compiler already.
>

As a little anecdote: submitting a patch for a new target was exactly how I
have started (and it was a completely new target, so more changes), so I
wouldn't say that this isn't feasible for a patch ;) (
https://bugs.freepascal.org/view.php?id=14886 )

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200129/8ceaad32/attachment.html>


More information about the fpc-pascal mailing list