[fpc-pascal] What to do to get new users
Wayne Sherman
wsherman at gmail.com
Mon Nov 18 00:04:02 CET 2024
On Sun, Nov 17, 2024 at 2:20 PM Michael Van Canneyt via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
> to pass it to the compiler through @extrafpc.cfg.
>
> If it is a fpc config file, then in that case it is definitely documented here:
> https://www.freepascal.org/docs-html/current/user/userse17.html
"One of the command line options allows you to specify a second
configuration file: Specifying @foo on the command line will open file
foo, and read further options from there. When the compiler has
finished reading this file, it continues to process the command line."
Adding to what Michael said, the @ command line option is also documented here:
https://www.freepascal.org/docs-html/user/userap1.html
"@<x> Read compiler options from <x> in addition to the default fpc.cfg"
(it can include a path so it is not a requirement to locate the file
in the same directory where the program is linked)
To avoid interference from other config files in the system or home
directories, this can be used at the same time:
"-n Do not read the default config files"
e.g. fpc -n @"/some/path/to/config/fpc.cfg"
More information about the fpc-pascal
mailing list