[Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

Juha Manninen juha.manninen62 at gmail.com
Fri Sep 13 12:24:57 CEST 2013


On Fri, Sep 13, 2013 at 12:50 PM, Juha Manninen
<juha.manninen62 at gmail.com> wrote:
> 2. This development is parallel to the "All Options" parser and GUI
> that I made earlier.
> It reads options directly from FPC, but only for the current platform / CPU.

Correction: actually the options are read with user defined TargetOS
and TargetCPU as parameters for FPC, like :
  ParsedTarget := '-T$(TargetOS) -P$(TargetCPU)';
  GlobalMacroList.SubstituteStr(ParsedTarget);
  Lines:=RunTool(fCompilerExecutable, ParsedTarget + ' -i');

But it works only if the compiler supports them.

Regards,
Juha




More information about the Lazarus mailing list