[fpc-devel] compiler switches machine readable

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Jul 26 15:41:15 CEST 2013

On 26 Jul 2013, at 15:14, Mattias Gaertner wrote:

> Lazarus wants to show all available switches of the currently selected
> fpc.
> It would be nice if the compiler could output all options. Something
> like the -h option, but in a machine readable format.
> How difficult is it to implement that?

It would have to be implemented and maintained completely manually. There is no general table or so in the compiler of all supported options nor of all options and their explanations. Or alternatively, the option parsing (and associated help text display) would have to be rewritten completely.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130726/4ea29498/attachment.html>

More information about the fpc-devel mailing list