Recent

Author Topic: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster  (Read 799 times)

wpostma

  • New Member
  • *
  • Posts: 13
Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« on: April 21, 2026, 03:28:40 am »
It was bad news that FreePascal's most recent (5 years ago) binary got dropped from Debian, where 1980s fortune versions are still around, but ... on Mac OS Tahoe,   you can't even build Lazarus, or install and run any released binary, on Mac OS Tahoe.

There kind of needs to be a bit of a dev focus on that I think. I'll try to help if I can.

Thaddy

  • Hero Member
  • *****
  • Posts: 19129
  • Glad to be alive.
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #1 on: April 21, 2026, 08:14:07 am »
What are your problems, step by step, because I do not have any. (I had a lot, though). I only can vouch for M4 hardware, though.
And FPC binaries are not dropped from Debian yet, not from releases. The work for that has been/is being done by adapting the packaging to GTK3 and communicating that the inclusion of GTK2 libraries is not used in the core, but for legacy support and that is legal. I have heared that is more or less already accepted.
The age of the release does not matter to Debian, it never has, as long as GTK2 is removed and there is maintenance.
Anyway the version for the M series can't be 5 years old yet, because the M series did not yet exist apart from the M1 which was sold alongside Intel hardware that was also still in production.
Fpc's release for M1/Aarch64 is 3.2.2 and dates from May 20th, 2021.
(Ok,Ok, almost 5 years)

Most issues stem not from the compiler, but from the tools anyway.
« Last Edit: April 21, 2026, 08:35:16 am by Thaddy »
objects are fine constructs. You can even initialize them with constructors.

dbannon

  • Hero Member
  • *****
  • Posts: 3801
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #2 on: April 21, 2026, 09:21:05 am »
It was bad news that FreePascal's most recent (5 years ago) binary got dropped from Debian, ....

No, that is not the case. See attached screen dumps from Synaptic. FPC322 and Lazarus 4.6 exist in Debian Sid. In fact the Debian people have put a lot of work into providing both a GTK3 and a Qt5 version of Lazarus. Trust me, you will be heaps happier with the Qt5 one. If Apple where to put one percent of that effort into making transitions between OS versions smoother, the very many similar titled threads here would not exist.

Davo


Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

jwdietrich

  • Hero Member
  • *****
  • Posts: 1278
    • formatio reticularis
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #3 on: April 21, 2026, 10:44:37 am »
For me, it works; see https://wiki.lazarus.freepascal.org/File:Lazarus_4.6_on_macOS_Tahoe_26.4.png for an example. What are your specific problems?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

Thaddy

  • Hero Member
  • *****
  • Posts: 19129
  • Glad to be alive.
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #4 on: April 22, 2026, 07:29:38 am »
I asked the same thing, no answer yet.

Can you please show us Warren?
If we know your problems we can help.
objects are fine constructs. You can even initialize them with constructors.

mischi

  • Full Member
  • ***
  • Posts: 191
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #5 on: April 22, 2026, 11:35:20 pm »
fpc 3.2.2 and Lazarus 4.4 installed using macports work fine on my arm MacBook on Tahoe. According to the macports buildbots fpc 3.2.2 runs fine all way down to 10.8 (https://ports.macports.org/port/fpc/details/) and lazarus down to 10.15 (https://ports.macports.org/port/lazarus/details/).

Enos68

  • New member
  • *
  • Posts: 9
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #6 on: May 03, 2026, 08:13:42 am »
It is a bit of a shame that when you try to use the official Lazarus downloads from Sourceforge.net, which claimed to be 4.6 version with FPC 3.2.4RC1, which pair should be solving the -macosx_version_min linker error problem. It turns out the Lazarus is 4.4 and you cannot compile the app due to the error not solved at all.

From MacPorts the same 4.4 Lazarus and FPC 3.2.2 is working just fine.

While I really appreciate what the community is doing to keep this language alive and provide a tool for cross-platform development it said that a major platform like MacOS is not supported enough and an external solution need to be found to get it properly working on MacOS.

XCode is changing every year and the team should be ready for those changes to keep Lazarus and Free Pascal working from the official download. Developers cannot wait years for such solutions.

Thaddy

  • Hero Member
  • *****
  • Posts: 19129
  • Glad to be alive.
Re: Lazarus and FreePascal on Mac OS 26.3 Tahoe is a disaster
« Reply #7 on: May 03, 2026, 08:33:17 am »
I build from source, trunk/main, and there are no problems I am aware of.
Also building with fpcupdeluxe works just fine if you want to use automated builds. My hardware is an M4 mini.
« Last Edit: May 03, 2026, 07:14:28 pm by Thaddy »
objects are fine constructs. You can even initialize them with constructors.

 

TinyPortal © 2005-2018