[Lazarus] Files with .rst, .compiled files and .lrs extensions

Sven Barth pascaldragon at googlemail.com
Tue Aug 16 20:47:43 CEST 2011


Am 16.08.2011 16:08, schrieb Frank Church:
>
>
> On 16 August 2011 14:26, Mattias Gaertner <nc-gaertnma at netcologne.de
> <mailto:nc-gaertnma at netcologne.de>> wrote:
>
>     On Tue, 16 Aug 2011 12:04:26 +0100
>     Frank Church <vfclists at gmail.com <mailto:vfclists at gmail.com>> wrote:
>
>      > Is it necessary to save .compiled files to VCS, especially in a
>      > crossplatform application?
>
>     No.
>     Do *not* save .compiled files in VCS.
>
>
>      > Are they more applicable to packages or to projects.
>
>     The same.
>
>
>      > Are .lrs used by Lazarus 0.9.29 and above? I remember reading
>     somewhere that
>      > only .res are now enough, or some other such files.
>
>     lrs files work with any version.
>     Using .res files requires fpc 2.4.4+ and 0.9.29+.
>     You can mix units using lrs and units using res in a project.
>
>
>
> What are .lrs files, are they actually necessary, or do .res files do
> the same thing?

.lrs files are basically the predecessors of .res files (in the context 
of Lazarus). They are include files which contains the resource contents 
inside a Pascal array of Strings AFAIK and were used before full 
resource support in the compiler was available.

Regards,
Sven





More information about the Lazarus mailing list