mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 07:09:28 +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;
|
if CheckFile(AFilename,Result) then exit;
|
||||||
|
|
||||||
// search fpc(.exe) in PATH
|
// search fpc(.exe) in PATH
|
||||||
if CheckFile(GetDefaultCompilerFilename,Result) then exit;
|
if CheckFile('fpc'+ExeExt,Result) then exit;
|
||||||
|
|
||||||
// search ppccpu(.exe) in PATH
|
// search ppccpu(.exe) in PATH
|
||||||
if CheckFile(FindDefaultCompilerPath,Result) then exit;
|
if CheckFile(GetDefaultCompilerFilename,Result) then exit;
|
||||||
|
|
||||||
// check history
|
// check history
|
||||||
Files:=EnvironmentOptions.CompilerFileHistory;
|
Files:=EnvironmentOptions.CompilerFileHistory;
|
||||||
|
Loading…
Reference in New Issue
Block a user