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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140811/3acb9fda/attachment.html>
