[fpc-devel] Alternative parsers

Sven Barth pascaldragon at googlemail.com
Tue Oct 19 11:53:58 CEST 2010


Am 19.10.2010 11:52, schrieb Jonas Maebe:
>
> On 19 Oct 2010, at 11:45, Sven Barth wrote:
>
>> Am 19.10.2010 11:43, schrieb Jonas Maebe:
>>>
>>> I'm not sure how that's related to the merge I did. DefaultSystemCodePage is a system unit variable that was introduced in the cpstrnew branch. The error message suggests that you are trying to compile the cpstrnew compiler against an RTL from a different version. The cpstrnew compiler depends on the cpstrnew RTL.
>>
>> Can it be then that the compiler (or at least that part of the code) is not checking whether its compiled using an older or a newer RTL?
>>
>> Isn't the process normally "compile new compiler with old RTL, compile new RTL with this compiler, compile new compiler with new RTL"?
>
> The normal process is "make all" in the top level fpc directory, or "make cycle" in the fpc/compiler directory. Both first compile the new RTL. It's the opposite that sometimes has to be done: the RTL always has to be compilable by older compilers.

Ah ok. So I got this one wrong. Thanks for clarification.

Regards,
Sven



More information about the fpc-devel mailing list