When compiling any source developed in Lazarus in Ubuntu, it does not normally execute, but in Debian with the command ./Programa
, it gives the following error: "Targeting failure". The program can be as simple as it is, even just displaying a simple text output. The systems have the same 32-bit architecture. Is it missing a library or incompatibility? I can not compile directly in Debian, since it is a VPS and I have SSH access only.
Follow the source code:
program Programa;
uses
SysUtils;
var
iParam: string;
begin
iParam := ParamStr(1);
Writeln(iParam);
end.