[fpc-pascal] Search path order for fpc.cfg
alex at dcclost.com
Sat Apr 11 20:29:45 CEST 2020
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:
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..
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> on behalf of fredvs via fpc-pascal <fpc-pascal at lists.freepascal.org>
Sent: Saturday, April 11, 2020 11:31:32 AM
To: fpc-pascal at lists.freepascal.org <fpc-pascal at lists.freepascal.org>
Cc: fredvs <fiens at 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.
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal