The Free Pascal compiler itself doesn’t create any resource files; it just compiles them into the executable. To create resource files, you can use some GUI tools as the Borland resource workshop; but it is also possible to use a Windows resource compiler like gnu windres. windres comes with the gnu binutils, but the Free Pascal distribution also contains a version which you can use.
The usage of windres is straightforward; it reads an input file describing the resources to create and outputs a resource file.
A typical invocation of windres would be
this will read the mystrings.rc file and output a mystrings.res resource file.
A complete overview of the windres tools is outside the scope of this document, but here are some things you can use it for:
Some of these will be described below.