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

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 1 13:58:10 CET 2013


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"?

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




More information about the Lazarus mailing list