[fpc-pascal] From Lazarus-list: Exists a macro to FPC path to use at fpc.cfg file?
Marcos Douglas
md at delfire.net
Tue Jun 22 17:45:58 CEST 2010
On Tue, Jun 22, 2010 at 12:37 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> On 22 Jun 2010, at 17:28, Marcos Douglas wrote:
>
>> I need use the sources of FPC/Lazarus in external HD. So, the FPC path
>> is changed in differents computers.
>> Is possible to use a macro to point to FPC path (in variable of
>> system) at fpc.cfg file?
>
> No. Furthermore, "the FPC path" would not make sense on non Dos-Windows-OS/2
> systems, since there the installation is organised completely differently
> (and even if you would specify it relative to the location of the ppcXXX
> executable to make it more cross-platform, that would still not work because
> not all operating systems guarantee that you can get a correct/sensible path
> to the currently executing program under all circumstances).
Okay Jonas, thank you for it.
BTW, about PPC_CONFIG_PATH is recommend to use it? I saw about it in
some blog (I don't remember the link) but I haven't seen in FPC docs.
Marcos Douglas
More information about the fpc-pascal
mailing list