mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-17 08:00:39 +01:00
codetools: IsCompilerExecutable now allows fpc* and ppc*, bug #36689
git-svn-id: trunk@62650 -
This commit is contained in:
parent
d72a7ccadb
commit
a5a26cdaec
@ -4005,8 +4005,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// check fpc<something>
|
// check fpc<something>
|
||||||
// Note: fpc.exe is just a wrapper, it can call pas2js
|
if IsFPCExecutable(AFilename,ErrorMsg,Run) then
|
||||||
if CompareFilenames(ShortFilename,'fpc')=0 then
|
|
||||||
exit(true);
|
exit(true);
|
||||||
|
|
||||||
ErrorMsg:='fpc executable should start with fpc or ppc';
|
ErrorMsg:='fpc executable should start with fpc or ppc';
|
||||||
|
|||||||
@ -1,3 +1,26 @@
|
|||||||
|
{***************************************************************************
|
||||||
|
* *
|
||||||
|
* This source is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This code is distributed in the hope that it will be useful, but *
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||||
|
* General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* A copy of the GNU General Public License is available on the World *
|
||||||
|
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
|
||||||
|
* obtain it by writing to the Free Software Foundation, *
|
||||||
|
* Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1335, USA. *
|
||||||
|
* *
|
||||||
|
***************************************************************************
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
Modal form to show all possible fpc options, parsed from -h output,
|
||||||
|
and enable/disable in custom compiler options.
|
||||||
|
}
|
||||||
unit AllCompilerOptions;
|
unit AllCompilerOptions;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user