On 21/09/2020 12.12, Jan Engelhardt wrote:
On Monday 2020-09-21 11:58, Carlos E. R. wrote:
On 21/09/2020 11.39, Jan Engelhardt wrote:
ppcx64 -B -MObjFPC -Scgi -Cg -O3 -g -gl -k-pie -Fu/usr/lib64/lazarus/lcl/units/x86_64-linux -Fu/usr/lib64/lazarus/components/lazutils/lib/x86_64-linux t.pas
cat >bad.pas <<-EOF program t; uses graphics; begin end. EOF
So the problem is not so much in peazip (uses "graphics"), but in lazarus.
cer@Telcontar:~/bin/lazarus/test> fpc bad.pas Free Pascal Compiler version 3.2.0 [2020/08/18] for x86_64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling bad.pas bad.pas(2,10) Fatal: Can't find unit graphics used by t
Without a project file, I can not try to build it with Lazarus itself. My own programs build fine with "Graphics".
See above. Why do you think I posted the commandline?
Which is obviously incorrect, or it would build. Don't ask me what is the error, I use "Build" from inside Lazarus, or: lazbuild myproject.lpi on the command line. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)