[fpc-pascal] Search path order for fpc.cfg

Michael Van Canneyt michael at freepascal.org
Sun Apr 12 14:49:00 CEST 2020

On Sun, 12 Apr 2020, fredvs via fpc-pascal wrote:

>> I would think this is about the biggest failure of all for a compiler ? 
> Imo, the worst thing is when the compilation is ok but code are bad
> interpreted.
>> simply because unix does not do this.
> OK, like I did for all my arguments, can you prove that?
> I never hear that is was forbidden to place a config file in same dir than
> executable and forbidden to use that config file in a search.

I never claimed it was forbidden ?

I applaud your efforts to provide an OOTB experience, and I think I have
indicated there are plenty of options available for you to achieve what 
you want without the need to change the compiler any further:
- Correct directory structure in a zip
- Installer instruction style wget https://yoururl/ -O - | bash
- wrapper script for fpc itself.
Take your pick...


More information about the fpc-pascal mailing list