[fpc-devel] PPU version checking
Tomas Hajny
XHajT03 at hajny.biz
Mon Feb 25 18:56:57 CET 2013
On Mon, February 25, 2013 15:39, John Lee wrote:
> I'm guessing that you'd need to be pretty au fait with fpc internals & the
> code to do this eg because there's no spec, and no tools to help? J
One would need to combine the original version of the PPU loader (as
included within the compiler source of the respective FPC version) with
the PPU writer of the latest version. I don't say that it would be easy
though (that's why I talked about sufficient motivation - it is probably
easier to rewrite certain stuff to which you lost your sources unless it
is a fairly big project).
Tomas
>>
>> In other words: _If_ someone is motivated enough for such a task, it
>> would
>> be possible to create a convertor from one PPU version to another (and I
>> don't mean a "convertor" only changing the version number but something
>> that really loads the original format of the particular original version
>> and stores the data in the new format with new version). I don't think
>> any
>> of the core developers would be interested in such a task (at least not
>> just for fun because it would not be much fun most likely), but I don't
>> want to talk for others.
>>
>> Moreover, note that in addition to PPU version number you also have
>> dependencies related changes in RTL and packages. In other words, you
>> would need to convert the originally used compiled RTL+packages units
>> this
>> way together with your own (compiled) units in order to be able to use
>> those units with the new compiler.
>>
>> Tomas
More information about the fpc-devel
mailing list