[fpc-devel] "fpc -h" and "fpc -i"

Tomas Hajny XHajT03 at hajny.biz
Wed Nov 12 23:53:12 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" rather than "FPC command 
line parser". Note that '-P' (or any other "fpc" specific options) 
are not listed if calling 'ppcXXX -h' rather than 'fpc -h'.

Tomas




More information about the fpc-devel mailing list