On Fri, Sep 13, 2013 at 12:50 PM, Juha Manninen <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
