#1 Yesterday 16:40:12

dcoun
Member
From: Crete, Greece
Registered: 2020-02-18
Posts: 521

"ld: file not found: c" while compiling in mac arm64

Trying to compile a mac osx arm64 app with Delphi 13 using mormot.core.json, mormot.core.variants, mormot.core.unicode, mormot.core.base, mormot.orm.core
I am getting the following error:
[dccosxarm64 Error] E2597 ld: file not found: c

how to solve it?
Thank you in advance

Offline

#2 Yesterday 20:35:22

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,435
Website

Re: "ld: file not found: c" while compiling in mac arm64

Mac arm64 is not yet supported.
Only Mac x64 and Linux x64 have preliminary support.

There is still the big problem of no internal asm in Delphi LLVM targets.
So we can't bootstrap the mormot.core.interfaces.pas unit as we can with FPC.

Just putting in place a full cross-compilation toolchain for a platform is a real PITA with Delphi, especially when you compare with how easy and stable it is with fpcupdeluxe. sad
I would need to have an actual Mac arm available, just to compile.

Offline

Board footer

Powered by FluxBB