Forum > General
Using old LCL
MarkMLl:
You're going to have problems, both technical and- as you're seeing- otherwise.
I don't think you'll manage to use a very old LCL with an IDE which is grossly newer. There have been a couple of inflection points: a relatively recent change in the IDE's .lfm format (with an option to use the older format added after enough users had squealed) plus one somewhere around Lazarus v1 where it started embedding version numbers. There was also a major reorganisation of the various tabbed controls, and of Synedit.
If my memory is correct, there's been at least one IDE change which had to be paralleled by a compiler change (not necessarily on all platforms): TFrame support somewhere around FPC 2.6.4.
There's the perennial problem of the widget set supported by the IDE being obsoleted or having an underlying library change, e.g. GTK1 being obsoleted plus occasional problems with Qt.
There were changes around FPC 3 related to the linker's -T warning. And there's probably still a current linker foulup affecting Debian testing/sid/Bookworm, and it was the hostile way that was handled that resulted in my spending far less time on the forum than I used to.
The oldest Lazarus+FPC that I'm currently running is 0.9.24 2.2.4 on Debian "Lenny" i386. I might have had slightly older versions running in the past, but if one tries to work back much further one has problems with the FPC release which Does Not Exist.
I believe that I have in the past managed to run Debian "Lenny" i386 is a Docker container on a much newer x86_64 system: with a bit of setup one can ssh into it hence run a version of the IDE which requires older underlying libraries etc. Failing that Qemu etc. will obviously work.
MarkMLl
marcov:
There are so many things, just from the top of my head: $Mode objfpc requiring properties to be sorted, taking the address of properties that refer to a field is no longer allowed.
MarkMLl:
--- Quote from: marcov on February 09, 2023, 10:04:43 am ---There are so many things, just from the top of my head: $Mode objfpc requiring properties to be sorted, taking the address of properties that refer to a field is no longer allowed.
--- End quote ---
True. And of course the point that I omitted was that a specific Lazarus version typically had a very small number of FPC versions that it could be built with (and with which it would work happily), and that the FPC sources typically requires the previous stable FPC to build. The result of that is that working backwards towards an older version that one want to use is tricky: one really has to start off with a very old FPC binary from FTP etc. and then work forwards.
I used to keep the full range on i386 and test various things regularly, but the move to x86_64 has introduced another inflection. Hats off to Linux+Docker here for generally being pretty good about old distreaux on a modern kernel.
MarkMLl
dodi:
--- Quote from: marcov on February 09, 2023, 09:26:36 am ---Db is a standard FPC unit. Wrong or partial install of FPC. Make sure you install all the fpc-* packages.
--- End quote ---
I installed (again) both the fpc and fpc-source packages of fpc 3.0.4 and run into
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Fatal: (10026) There were 50 errors compiling module, stoppingFatal: (1018) Compilation abortedMakefile:3354: recipe for target 'lazutils.ppu' failedmake[1]: *** [lazutils.ppu] Error 1make[1]: Leaving directory '/home/dodi/lazarus/components/lazutils'Makefile:1964: recipe for target 'lazutils' failedmake: *** [lazutils] Error 2
From which source can I obtain a current and working fpc/Lazarus system?
KodeZwerg:
--- Quote from: dodi on February 09, 2023, 11:37:47 am ---From which source can I obtain a current and working fpc/Lazarus system?
--- End quote ---
You can experiment with Fcpupdeluxe which is a GUI installer for FPC and Lazarus in one easy to use app.
Good luck!
Navigation
[0] Message Index
[#] Next page
[*] Previous page