[Lazarus] Fatal: Can't find unit system used by Lazarus

Antonio Fortuny a.fortuny at sitasoftware.lu
Fri Feb 1 14:02:54 CET 2013



Le 01/02/2013 13:58, Mattias Gaertner a écrit :
> On Fri, 01 Feb 2013 10:21:00 +0100
> Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:
>
>>
>>
>> Le 28/01/2013 13:16, Mattias Gaertner a écrit :
>>>
>>> Have you tried to use lazarus from svn?
>> Yes. Downloaded last SVN trunk on /home/sources/lazarus (with sita user,
>> using Gnome commander from svn.freepascal.org/svn/lazarus/trunk/)
>> in a shell (myuser):
>> sita at linux-5yg5:/home/sources/lazarus> make clean all
>> ... all clean stuff
>> /bin/mkdir -p ../units/x86_64-linux
>> /usr/bin/ppcx64 -Ur -Xs -O2 -n -MObjFPC -Scghi -O1 -g -gl -vewnhi -l
>> -Fu. -FE. -FU../units/x86_64-linux -Cg -dx86_64 -dRELEASE fcllaz.pas
>
>  From where comes the "-Ur -Xs -O2 -n"?
No idea but it should be in the original Makefile I presume
I did not change anything after download from SVN, just: make clean all 
in new downloaded lazarus folder
>
> The -n tells the compiler to ignore the /etc/fpc.cfg. No wonder it can
> not find system.ppu.
> The -O2 is cancelled by the following -O1.
> Do not use -Ur with Lazarus packages.
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>






More information about the Lazarus mailing list