mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 11:49:24 +02:00
IDE: by default use fpc as compiler filename instead of /usr/bin/fpc
git-svn-id: trunk@46606 -
This commit is contained in:
parent
43994a0b19
commit
943bae5f54
@ -447,7 +447,10 @@ begin
|
|||||||
'EnvironmentOptions/CompilerFilename/Value');
|
'EnvironmentOptions/CompilerFilename/Value');
|
||||||
if CheckFile(AFilename,Result) then exit;
|
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;
|
if CheckFile(FindDefaultCompilerPath,Result) then exit;
|
||||||
|
|
||||||
// check history
|
// check history
|
||||||
|
Loading…
Reference in New Issue
Block a user