[fpc-devel] PPU version checking
Michael Van Canneyt
michael at freepascal.org
Tue Feb 26 13:16:41 CET 2013
On Tue, 26 Feb 2013, Marco van de Voort wrote:
> In our previous episode, John Lee said:
>> This sounds like the best plan if one has several .ppus - as some ppl seem
>> to have & no source code, that should - but not sure what's involved with
>> writing the wrapper. Could the whole thing be written in fpc pascal?
>>
>> Would it be easy to reuse the wrapper for different .ppus? If so this'd be
>> useful fpc tool.
>>
>> What do others with this problem think?
>
> I would not bother recovering the ppu's.
>
> Since RTL and codegeration changes might cause other trouble for non trivial
> cases (specially between major versions), I would say it is not very
> practical.
>
> IOW the possibilities are mostly theoretical, and if you are really in a
> hurry, stop wasting time recovering and start rewriting the missing source.
>
> ... and make sure you back up source next time.
+1
There are so many 'if's and "maybe"s that the end result is highly unlikely
to produce a working binary. Even if you manage to get it working, there is
no guarantee that the next FPC version will work.
The cartoon on http://developdaly.com/general/how-i-backup-everything/ says it all.
Michael.
More information about the fpc-devel
mailing list