IDE: by default use fpc as compiler filename instead of /usr/bin/fpc

git-svn-id: trunk@46606 -
This commit is contained in:
mattias 2014-10-19 17:54:35 +00:00
parent 43994a0b19
commit 943bae5f54

View File

@ -447,7 +447,10 @@ begin
'EnvironmentOptions/CompilerFilename/Value');
if CheckFile(AFilename,Result) then exit;
// check PATH
// search fpc(.exe) in PATH
if CheckFile(GetDefaultCompilerFilename,Result) then exit;
// search ppccpu(.exe) in PATH
if CheckFile(FindDefaultCompilerPath,Result) then exit;
// check history