Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-08

Files with .rst, .compiled files and .lrs extensions

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

Is it necessary to save .compiled files to VCS, especially in a crossplatform application? Are they more applicable to packages or to projects.

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.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110816/68382af0/attachment.html>

Reply by email

Mattias Gaertner
to Frank Church
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.

Mattias

Reply by email

Frank Church
to Mattias Gaertner: On Tue, 16 Aug 2011 12:04:26 +0100 No. Do *not* save .compiled files in VCS. The same.…
Mattias Gaertner wrote 24 lines
On Tue, 16 Aug 2011 12:04:26 +0100 Frank Church 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?

Show quoted text 8 lines
Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110816/28385a8c/attachment.html>

Reply by email

Sven Barth
to Frank Church
Frank Church wrote 32 lines
On 16 August 2011 14:26, Mattias Gaertner < <mailto:>> wrote: On Tue, 16 Aug 2011 12:04:26 +0100 Frank Church < <mailto:>> 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

Reply by email

Frank Church
to Sven Barth
Sven Barth wrote 52 lines
Am 16.08.2011 16:08, schrieb Frank Church: > > > On 16 August 2011 14:26, Mattias Gaertner < > < >> wrote: > > On Tue, 16 Aug 2011 12:04:26 +0100 > Frank Church < <mailto:>> 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 -- ______________________________**_________________ Lazarus mailing list .**freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

Are .res compatible on a cross platform basis? Do they belong in VCS?

Are .lpi files compatible across platforms? I tried to merge a windows .lpi file into a Linux one and got a merge conflict.

Are such conflicts usually resolvable?

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111001/e478ddb4/attachment.html>

Reply by email

Mattias Gaertner
to Frank Church
[...] Are .res compatible on a cross platform basis? Do they belong in VCS?

Well, on the first hand the .res files created by the IDE are auto created, so theoretically you don't need store them in VCS. On the other hand the res file in the a source directory, which might be readonly, then the res should be in VCS.

I'm not sure if the format is totally platform independent.

Are .lpi files compatible across platforms?

Yes.
But of course you can put platform dependent values in it, which will fail to be converted. For example a path C:\test can not be converted to Linux.

I tried to merge a windows .lpi file into a Linux one and got a merge conflict.

A merge conflict means that both files were altered at the same place in different ways. Or that you use incompatible diff/patch tools.

Are such conflicts usually resolvable?

Yes.

Mattias

Reply by email