/pp/src/Makefile
/makefile.fpc /rtl/linux /inc /i386 /... /compiler |
When the make les should be used, the above directory tree must be used.
The compiler and rtl source are zipped in such a way that when both are unzipped in the same directory (/pp/src in the above) the above directory tree results.
There are 2 ways to start compiling the compiler and RTL. Both ways must be used, depending on the situation. Usually, the RTL must be compiled rst, before compiling the compiler, after which the compiler is compiled using the current compiler. In some special cases the compiler must be compiled rst, with a previously compiled RTL.
How to decide which should be compiled rst? In general, the answer is that the RTL should be compiled rst. There are 2 exceptions to this rule:
How to know if one of these things has occurred? There is no way to know, except by mailing the Free Pascal team. When the compiler cannot be recompiled when rst compiling the RTL, then try the other way.