Never mind. I read the code and added the lib/fpc/$FPCVERSION directory to my path.
-----Original Message----- From: fpc-devel <fpc-devel-boun...@lists.freepascal.org> On Behalf Of dave--- via fpc-devel Sent: Sunday, November 12, 2023 2:44 PM To: 'FPC developers' list' <fpc-devel@lists.freepascal.org> Cc: d...@synergy.org Subject: [fpc-devel] Apologies, newbie question. How to make fpc use a different backend? Hello, I have successfully built a new compiler. I installed it via make install INSTALL_PREFIX=... When I execute the new fpc command, however, it uses the system ppca64, not the built one. "Which fpc" confirms that I am using the proper fpc command. "fpc -PB" confirms that it is using the system backend, i.e. /usr/bin/ppca64. . My reading of the -XP option to fpc is that I should be able to override the default backend, but I have not been able to do so. I am clearly missing something. I generated new .cfg files using samplecfg and I know that PPC_CONFIG_PATH is correct. I can introduce an error in fpc.cfg and fpc fails, so I know I am using the proper fpc.cfg file. Nothing I do, either on the command line nor within the .cfg file seems to direct fpc to use the proper ppca64 backend. What am I missing? Thank you, kindly, Dave _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel