Closed gcarreno closed 2 months ago
mORMot is not compatible with Delphi for Linux: only Delphi for Windows. I don't have any Delphi for Linux compiler, to be honnest. ;)
We use FPC to compiler for Linux.
Hey Arnaud(@synopse),
I don't have any Delphi for Linux compiler, to be honest. :wink:
I suspected as much, hence me offering to help with getting this to work.
Cheers, Gus
I don't think how I may be able to do it without even a Delphi for Linux compiler on my side. Honestly, no one asked for this support yet, once they found out FPC + Lazarus on Linux. I use FPC + Lazarus on Linux since years, as my main dev and work platform. https://synopse.info/forum/viewtopic.php?pid=36212 https://synopse.info/forum/viewtopic.php?id=5864
And last time someone checked the Delphi for Linux compiler generated code, it was just cr*p.
To be quite honest, you make a lot of sense.
I guess that I kinda had a knee jerk reaction and came here instead of using my head a bit more.
Hey Arnaud(@synopse),
While attempting to compile Georges entry for
1BRC
I was unable to do it.From a very superficial look into it, it appears that
mORMot2
's.inc
files make Delphi think that it's on a Windows target. And because of that, a lot of the{$IFDEF}
s will fail.This for the latest
mORMot2
v2.2 stable with Delphi 12.1.I don't quite know how to better describe this issue, sorry Arnaud!!
But I'm completely available to test this and get to the bottom of it.
Many thanks in advance.
Cheers, Gus