IDE: initial setup dialog: search for fpc.exe before ppccpu.exe

git-svn-id: branches/fixes_1_6@50674 -
This commit is contained in:
mattias 2015-12-06 00:15:08 +00:00
parent 7b5fb47042
commit 6729badd81

View File

@ -468,10 +468,10 @@ begin
if CheckFile(AFilename,Result) then exit;
// search fpc(.exe) in PATH
if CheckFile(GetDefaultCompilerFilename,Result) then exit;
if CheckFile('fpc'+ExeExt,Result) then exit;
// search ppccpu(.exe) in PATH
if CheckFile(FindDefaultCompilerPath,Result) then exit;
if CheckFile(GetDefaultCompilerFilename,Result) then exit;
// check history
Files:=EnvironmentOptions.CompilerFileHistory;