[Lazarus] Absolute paths on different platforms

Flávio Etrusco flavio.etrusco at gmail.com
Sat Jun 25 22:52:13 CEST 2011


>> (...)
>> I see two options (if either possible)
>> - Ignore absolute paths from another platform (for example c:\src
>> found in linux Lazarus). But I'm not sure whether it's always
>> possible.
>> - Introduce a setting to suppress this warning. I think if it becomes
>> too tedious, I will be ready to switch this off completely. And it's
>> much easier to implement that the first suggestion. I tried to find,
>> maybe it's already there, but failed, sorry
>
> The third possibility is to keep your directory structure the same on all
> platforms, e.g. Lazarus in /usr/local/share/lazarus and your sources in
> /usr/local/src. If you treat a Linux system as your master, and are fairly
> careful about not copying stuff back from Windows unless really necessary,
> you won't "pollute" paths with things like drive letters.
>
> --
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
>

And/or suggest environment/ide variables that could be used :-)

-Flávio




More information about the Lazarus mailing list