On 21/09/2020 11.39, Jan Engelhardt wrote:
On Thursday 2020-09-17 15:39, Luigi Baldoni wrote:
It can't be built with Qt and it has a few other problems upstream won't take care of and that I can't fix due to significant rustiness in all things pascal/delphi.
Anyone willing to adopt it?
cat >good.pas <<-EOF program t; begin end. EOF 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 -> produces PIE
cat >bad.pas <<-EOF program t; uses graphics; begin end. EOF -> bombs out with same command line
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 Fatal: Compilation aborted Error: /usr/bin/ppcx64 returned an error exitcode cer@Telcontar:~/bin/lazarus/test> Without a project file, I can not try to build it with Lazarus itself. My own programs build fine with "Graphics". -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)