On Sat, 5 Feb 2011 18:37:04 +0100 Darius Blaszyk <[email protected]> wrote:
>[...] > > Basically you need a preprocessor for FPC. > > The first step is to extend FPC to not load files directly from disk. I > > tried some months ago and it was amazingly simple. > > It is quite simple to build your own custom compiler and it uses a central > > place to load source files. With a simple patch the central loading can be > > extended for an overload. This costs no performance and has very low > > maintenance cost for the FPC team, so there is a good chance the patch will > > be applied. At that time DoDi was working on the compiler, so I waited for > > the dust to settle and then I forgot to provide the patch. The patch is on > > another computer. I can search for it next week. > Sounds very promising, I would welcome your sources to see if I can use this > in fpprofiler. http://bugs.freepascal.org/view.php?id=18740 Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
