last lazarus & fpc svn
Kubuntu 14.04 x64
In project option,
Target file name (-0): apps/Myproject_$(TargetOS) result is "*Myproject_linux*"
In code:
...
S := Format('%s_%s.zip', ['*Myproject_*', {$I %FPCTARGETOS%}]); result is "*Myproject_Linux*"

os linux is case sensitive, so first char "L" is different and lazarus macro and fpc variable

/opt/lazarus/components/codetools/definetemplates.pas 2780:8

function GetCompiledTargetOS: string;
begin
  Result:=Result:=lowerCase({$I %FPCTARGETOS%});
end;

why lazarus change to lowerCase fpc constant ?
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to