[fpc-devel] Planning to experiment with FPC extentions

Ryan Joseph genericptr at gmail.com
Wed Aug 26 04:09:46 CEST 2020

I started by using lazbuild with one of the .lpi files included in the fpc sources (add debug information when building also). 

lazbuild /fpc/compiler/ppcx64.lpi

Next thing to do is put a syntax error in a example program and build it using the compiler (/fpc/compiler/ppcx64 myprog.pas for example) and a debugger (I use VSCode on macOS now but Lazarus works). Step through the compiler line by line until you understand the basics of where you are. Eventually add more syntaxes to your example program and step around in the debugger to analyze how it works.

That's basically all the information there is sadly. I thought of making a little screencast video of myself doing this but I'm not sure how useful that would be.

> On Aug 26, 2020, at 7:57 AM, Boian Mitov via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
>   Hello everyone,
> I have been planning for long time to try to add support for advanced RTTI to FPC, but never had the chance to work on it.
> I don’t even know how to start. Is there any information on how to setup for recompiling the compiler sources and even where the sources and the project files for the compiler are?
> Can someone help me setup so I can start to study the code and see how I can start working on it?

	Ryan Joseph

More information about the fpc-devel mailing list