Firebird 3.x on MacOS

Firebird 3.x on MacOS

That took me more than enough time to work out.. ok the following should
work.

You will need to install a copy of ICU, the ICU shipped with MacOS
(assuming they still do) is not good enough. The easiest way to do
this is to download the source code and build it yourself. Currently
I am using 5.4. Unlike other posix platforms we are going to have to
ship the libs with the framework. You will also need to install libtommath
via MacPorts for example. We need a way to link this into the build
statically, because we can't ask everyone to install it.

Re: Firebird 3.x on MacOS

Yes, Mac build of Firebird was the hardest of all our software modules so far (we're planning to use it as embedded database).

My build notes are very similar to yours, a few things that I noted down are:

autogen.sh I had to add --disable-raw-devices, because that module did not compile for me.

Gen\make.platform has a wrong (absolute) path for libtommath. I had to fix that every time I ran autogen again, or the build would fail.

I'm using ICU 57.1 because later versions removed a (deprecated) module that is required for another 3rd party library. I used the version of tommath that was included with the firebird source (I just built it manually).

That took me more than enough time to work out.. ok the following should work.

You will need to install a copy of ICU, the ICU shipped with MacOS (assuming they still do) is not good enough. The easiest way to do this is to download the source code and build it yourself. Currently I am using 5.4. Unlike other posix platforms we are going to have to ship the libs with the framework. You will also need to install libtommath via MacPorts for example. We need a way to link this into the build statically, because we can't ask everyone to install it.