Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Tomas Hajny
On Tue, July 8, 2014 12:07, Mark Morgan Lloyd wrote: > Tomas Hajny wrote: > >>> 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? >

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Mark Morgan Lloyd
Tomas Hajny wrote: 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? In trunk, fpc -h shows all options supported by either fpc or ppcXXX

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Tomas Hajny
On Tue, July 8, 2014 11:42, Henry Vermaak wrote: > 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,

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Tomas Hajny
On Tue, July 8, 2014 11:33, 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

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Henry Vermaak
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 (

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Mark Morgan Lloyd
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

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-08 Thread Reinier Olislagers
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 somethin

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-07 Thread Jonas Maebe
On 07 Jul 2014, at 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? -n @/full/path/to/fpc.cfg The first parameter instructs the compiler not to load the default fpc.cfg file, the sec

Re: [fpc-pascal] Using a custom fpc.cfg

2014-07-07 Thread Karoly Balogh (Charlie/SGR)
Hi, On Mon, 7 Jul 2014, 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? There's an environment variable called PPC_CONFIG_PATH you can set to tell the compiler the new config location. It's