Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2023-11

Apologies, newbie question. How to make fpc use a different backend?

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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

Reply by email

Unknown author
to Unknown author

Never mind. I read the code and added the lib/fpc/$FPCVERSION directory to my path.

Earlier message 25 lines
-----Original Message----- From: fpc-devel On Behalf Of dave--- via fpc-devel Sent: Sunday, November 12, 2023 2:44 PM To: 'FPC developers' list' Cc: 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

Reply by email