[fpc-pascal] Using a custom fpc.cfg

Henry Vermaak henry.vermaak at gmail.com
Tue Jul 8 11:42:00 CEST 2014


On Tue, Jul 08, 2014 at 10:33:06AM +0100, Mark Morgan Lloyd wrote:
> Reinier Olislagers wrote:
> >On 07/07/2014 11:10, luciano de souza wrote:
> >>What I want to know is: is there a commandline parameter to specify a
> >>new name or, at least, a new directory to fpc.cfg file?
> >
> >Yes, there is (I suspect it's fpc @/path/to/your/fpc.cfg) but the
> >default config files (e.g. /etc/fpc/fpc.cfg or something) will still be
> >read.
> >You'll need to use fpc with the -n option to avoid that.
> 
> Incidentally, how does one get a list of fpc's options? I don't mean
> fpc -h  since that actually shows ppcXXX's options, but how does one
> get minimal info on fpc itself such as a reminder of the -V option?

I don't think there's a way, except for looking at the source.

Henry



More information about the fpc-pascal mailing list