Are you always going to be running the compiler from a front-end (IDE, whatever else)? Just use code on the other end to find the binary directory and call something like "fpc @/home/whereis/fpc/fpc.cfg ..."
You could also use a bash script to wrap the compiler and do something like: https://stackoverflow.com/questions/59895/how-to-get-the-source-directory-of-a-bash-script-from-within-the-script-itself#59916 To find out where the script is (and therefore where your binaries/config are) to use with @ again. I duno. If you really do this I'd suggest doing it once and writing a correct config to .fpc.cfg in their home directory... in that case they can at least upgrade fpc independently from the whole project. But that touches the system.. -- Alexander Grotewohl https://dcclost.com ________________________________ From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> on behalf of fredvs via fpc-pascal <fpc-pascal@lists.freepascal.org> Sent: Saturday, April 11, 2020 11:31:32 AM To: fpc-pascal@lists.freepascal.org <fpc-pascal@lists.freepascal.org> Cc: fredvs <fi...@hotmail.com> Subject: Re: [fpc-pascal] Search path order for fpc.cfg > if the .so.n issue was really so urgent for you, Ho, it was urgent for we since the first time I did use it 15 years ago! And each time that I request it, it finished by insult. And when I created uos, problems of linking to libs where solved by loadlibrary() because with ld it was not possible. Sorry but now it is the time to change and fast. Fred -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal