[fpc-devel] How about split core compiler and RTL/Packages?

Michael Van Canneyt michael at freepascal.org
Wed Apr 15 22:36:42 CEST 2026



On Wed, 15 Apr 2026, Marco van de Voort via fpc-devel wrote:

>
> Op 15-4-2026 om 22:23 schreef Michael Van Canneyt via fpc-devel:
>>>>
>>>> But packages and most utils are quite independent, with exception of 
>>>> the text-mode IDE, as it needs the compiler, and possibly the RTTI 
>>>> unit.
>>>
>>> rtl-objpas contains rtti  unit and there is vcl-compat with many 
>>> incompat changes.
>>
>> The rtti unit can be compiled for 3.2.2, it will miss some 
>> functionality, but it will still be available. The only thing it 
>> really relies upon from
>> trunk is the actual extended rtti info, so people will get limited info. 
>
> And function references, custom attributes. Though that might be a 
> matter of adding ifdefs:

Yes, I know.

In each case, if ever it comes to a split, it will be the packages as a whole,
with some ifdefs to make it compile with whatever is then the release
compiler. So definitely no cherry-picking operation, that seems like a
recipe for disaster to me...

Michael.


More information about the fpc-devel mailing list