On 24.07.23 21:49, Michael Van Canneyt via fpc-devel wrote:
[...] Subtarget support is explained in more detail here: https://wiki.freepascal.org/FPC_Subtarget_Support
* compile the various Lazarus widgetsets into different directories * ... any other things you may think of ... all with a single installation of FPC.
The -t switch alters the $fpctarget, and therefore searches the fpc units in another directory. So a non-fpc project must add the -Fu for the fpc units itself.
Can you elaborate, how -t gives non-fpc projects new possibilities? Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel