On Sun, Nov 17, 2024 at 2:20 PM Michael Van Canneyt via fpc-pascal <fpc-pascal@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" _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal