mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 18:29:36 +02:00
IDE: initial setup dialog: search for fpc.exe before ppccpu.exe
git-svn-id: branches/fixes_1_6@50674 -
This commit is contained in:
parent
7b5fb47042
commit
6729badd81
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user