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

Tomas Hajny XHajT03 at hajny.biz
Wed Nov 12 22:39:07 CET 2014


On 12 Nov 14, at 16:32, Dmitry Boyarintsev wrote:
> On Wed, Nov 12, 2014 at 7:03 AM, Juha Manninen <juha.manninen62 at gmail.com>
> wrote:
> 
> > The fact still is that "fpc -h" + a parser in Lazarus requires the
> > least amount of maintenance in the long run.
> >
> The help output already listed the vast majority of all options.
> >
> Is there an exclusion for  "-P" option in the parser?
> After all the flag make sense for "fpc" but not "ppcXXX".

Yes, that option is processed by fpc normally and ignored by ppcXXX 
if it is called with that option. This fact may be used in makefiles 
so that the specific ppcXXX may be called instead of fpc under 
certain conditions while still allowing the same command line options 
to be used rather than getting an error message.

Tomas




More information about the fpc-devel mailing list