[Lazarus] question and suggestion

Martin Frb lazarus at mfriebe.de
Fri Jun 20 23:06:06 CEST 2014


On 20/06/2014 21:50, FreeMan wrote:
>
> 20-06-2014 23:28 tarihinde, Martin Frb yazdı:
>> 2) If your lazarus install directory is writeable to the user (e.g. 
>> /home/user/laz_install ) , then:
>> - some files (ppu) go into that directory, and NOT into pcp.
>> then you need one install for EACH config
>>
>> Otherwise you can have as many config, from just minimum, to all 
>> packages you can find. They should not interfere with each other.
>>
>> It does get a bit harder, if you want to mix and much fpc versions...
> Yes, I have write permissions to source folder.
> example:
> /opt/lazarus/... all source in this folder, write permission, and r1.3 
> version
> ~/.lazarus_main/  3rd party and manay diffrent settings profile. 
> lazarus size 150mb example.
> ~/.lazarus_TEST/ without anything standart min. installation 75mb example
>
> now, I have 2 lazarus app. (exe) but only last builded can work 
> --pcp=lazarus_main or --pcp=lazarus_TEST
> last build ~/.lazarus_TEST/ then I wanna  "startlazarus 
> --pcp=~/.lazarus_main" is it work ? No I have to rebuild 150mb one 
> more, I'm talk about this.

When you just call lazarus, you will start the exe that is in "path".

If you have more that one, then you need to specify the full path.

Maybe startlazarus  will work....

*IF* your install directory are not writeable, then "lazarus" (the ide 
executable) is in PCP. And then startlavacus will work (side effect, the 
splash screen shows the version of startlazarus, and not the version of 
lazarus.

*IF* your "lazarus" (the ide executable) is in /opt/lazarus/... (because 
that is writeable) then only the last build exist.
As I wrote, then you need to directories with each having a full install.

If you want to share the same laz-install folder, for more than one 
build, you must make it read-only.







More information about the Lazarus mailing list