Discussion:
[fpc-pascal] fpc.cfg using relative paths
Marcos Douglas B. Santos
2018-11-04 17:21:32 UTC
Permalink
Is there, any change, to use relative paths inside fpc.cfg?
I have several Lazarus copies, in different paths, and I would like to
use the same fpc.cfg on all of them.

I've tried to use relative paths and macros but it hasn't worked.

best regards,
Marcos Douglas
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.org/cg
Fabio Luis Girardi
2018-11-04 19:52:35 UTC
Permalink
Hi Marcos!

I use a lot of FPC/Lazarus versions using one FPC.cfg file, but instead of
using relative paths, I use compiler variables, absolute paths, ext4
symlink and directory structure equal to all versions. The unique thing
that I have to do each time when installing a new FPC version, is the
symlink to the original fpc.cfg file.

The unique problem is if these file is shared across multiple users.
Post by Marcos Douglas B. Santos
Is there, any change, to use relative paths inside fpc.cfg?
I have several Lazarus copies, in different paths, and I would like to
use the same fpc.cfg on all of them.
I've tried to use relative paths and macros but it hasn't worked.
best regards,
Marcos Douglas
_______________________________________________
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Marcos Douglas B. Santos
2018-11-05 01:53:09 UTC
Permalink
On Sun, Nov 4, 2018 at 5:52 PM Fabio Luis Girardi
Post by Fabio Luis Girardi
Hi Marcos!
I use a lot of FPC/Lazarus versions using one FPC.cfg file, but instead of using relative paths, I use compiler variables, absolute paths, ext4 symlink and directory structure equal to all versions. The unique thing that I have to do each time when installing a new FPC version, is the symlink to the original fpc.cfg file.
The unique problem is if these file is shared across multiple users.
For me, it must be relative paths.
I have different installed paths - even in different drivers.

regards,
Marcos Douglas
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
http://lists.fr

Loading...