[Lazarus] Separation of source code and compiled units

Karl-Michael Schindler karl-michael.schindler at physik.uni-halle.de
Sat Nov 2 12:21:44 CET 2019


Am 02.11.2019 um 12:00 schrieb Sven Barth via <lazarus-request at lists.lazarus-ide.org>:

> Karl-Michael Schindler via lazarus <lazarus at lists.lazarus-ide.org> schrieb
> am Sa., 2. Nov. 2019, 11:27:
> 
>> Hi
>> 
>> I am working on the package description for lazarus for MacPorts and are
>> struggling with the following: $PREFIX/share/lazarus contains the source
>> code as well as the compiled units. In case lazarus is recompiled the
>> directory $PREFIX/share/lazarus needs to be writable by all users. At least
>> this is as far as I got. Is there a way to keep the source files readonly
>> and place the compiled files somewhere separate? How has this been dealt
>> with for linux?
> 
> If I remember correctly then Lazarus recompiles itself into a directory in
> the user's home directory if the original isn't writable.
> 
> Regards,
> Sven

I looked into that and I might even manage to bend it, in order to use 
$PREFIX/var/lib/lazarus and  keep $PREFIX/share/lazarus readonly.

But before going down that way with all the time for testing, i would 
appreciate opinions on that?

Regards - Michael.




More information about the lazarus mailing list