[fpc-devel] "fpc -h" and "fpc -i"
XHajT03 at hajny.biz
Wed Nov 12 23:50:23 CET 2014
On 13 Nov 14, at 0:20, Juha Manninen wrote:
> On Wed, Nov 12, 2014 at 11:32 PM, Dmitry Boyarintsev
> <skalogryz.lists at gmail.com> wrote:
> > Is there an exclusion for "-P" option in the parser?
> > After all the flag make sense for "fpc" but not "ppcXXX".
> No but IMO it should be excluded from the user choices.
> The parser calls the compiler with '-T$(TargetOS) -P$(TargetCPU)';
> See function TCompilerOptReader.UpdateTargetParam: Boolean;
Ah, you meant "Lazarus parser of fpc help output" rather than "FPC
command line parser".
Note that -P (in general: 'fpc' specific options) will not be listed
if you call 'ppcXXX -h' rather than 'fpc -h'.
More information about the fpc-devel