[fpc-devel] FPC 2.7.1 r22088 fails with compiler error in fpdoc.
Sven Barth
pascaldragon at googlemail.com
Thu Aug 16 10:34:09 CEST 2012
Am 16.08.2012 10:30, schrieb Michael Schnell:
> On 08/16/2012 10:21 AM, Thomas Schatzl wrote:
>>
>> "make cycle" is for compiling the compiler itself, to be started in the
>> "compiler" subdirectory.
> I see.
>> "Cycling" in this context means that the
>> compiler compiles itself a few times, each time with the recently
>> compiled compiler, to make sure that the resulting version has been
>> compiled with the latest version, and all current optimizations and
>> compile settings have been used.
> I don't see how this should work unless the latest released version is
> installed anywhere. I guess _this_ is my problem.
Correct.
>>
>> "make (zip)install" compiles everything, i.e. the cycle + packages and
>> optionally gives you a nice single-file archive which can be used to
>> install fpc.
>>
>>
> After compiling I do
>
> make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr
>
You don't need to specify the compiler here as "install" uses the
compiled compiler (AFAIK).
> to install the just compiled version to make it usable with Lazarus
>
> This does work, but i understand that this does not do any compiling.
AFAIK it does do some compiling... e.g. the fpc utility is compiled in
that case.
Regards,
Sven
More information about the fpc-devel
mailing list