[fpc-pascal] Compiling the compiler

Tomas Hajny XHajT03 at mbox.vol.cz
Wed Jul 26 12:00:43 CEST 2006


Andreas Berger wrote:
> Vincent Snijders wrote:
>> Andreas Berger schreef:
>>> Andreas Berger wrote:
>>>> I have a problem compiling the compiler. After a lot of compilation
>>>> it attempts to compile pp.pas and I get the following error:
>>>>    pp.pas(213,1) Error: Entrypoint start not defined.
>>> I downloaded todays snapshot and had the same problem. Then I
>>> compiled using "make all" + "make install" instead of "make cycle"
>>> and it worked. Is this correct? What does "make cycle" do exactly?
>>
>> There is at least one difference.
>> If you do make cycle in the compiler directory, the fpc.cfg file is
>> used.
>> If you do make all or make compiler_cycle in the fpc source directory
>> (that contains a compiler subdirectory), then no fpc.cfg file is used.
>>
>> So maybe you should try make cycle OPT="-n"
>>
> Sorry, it gave the same error.

I assume you're compiling from trunk sources, right? Then we probably have
some bug in trunk compiler (binary writer/internal linker?). There's a
parameter for forcing external linker (in trunk compiler, not 2.0.2), you
can try that.

I can have a look at it later, but probably not before 2.0.4 is out.

Tomas




More information about the fpc-pascal mailing list