[fpc-pascal] What to do to get new users

Michael Van Canneyt michael at freepascal.org
Sun Nov 17 23:15:40 CET 2024



On Sun, 17 Nov 2024, Vern via fpc-pascal wrote:

> Travis,
>
> There is a discussion in the fpc archives 2014 I believe about using Geany.
>
> I have been using Geany for over 10 years with complex GUI programs ... but 
> you must use a file located in the directory where the executable is linked.
>
> ... in this case extrafps.cfg
>
> ... and reference the file extrafpc.cfg  in Geany
>
>
> BTW : The guys documenting FPC have never bothered to describe this in any 
> documentation that I can find.

The compiler by itself will not use that file. Here is the mechanism used by
the compiler:
https://www.freepascal.org/docs-html/current/user/usersu10.html

So if geany or one of its plugins does something with that file, 
then you should be looking in the geany documentation for the mechanism
used: I can't be expected to document every plugin for every editor on the planet.

Based on your scant information, I can only assume that the abovementioned file 
(is it extrafps.cfg or extrafpc.cfg or both, or is that a typo ?) 
is a regular FPC configuration file.

I know the fpGUI project uses extrafpc.cfg or extra.cfg or so, but you need
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

Michael.


More information about the fpc-pascal mailing list