[fpc-devel] Alternative parsers

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Oct 19 11:52:38 CEST 2010


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.


Jonas


More information about the fpc-devel mailing list