8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 17:23:03 +01:00
firebird-mirror/doc/README.build.macosx.md

588 B

Building Firebird on MacOSX using brew

Preparing

  • Install XCode
brew install automake libtool icu4c
export CFLAGS=-I/usr/local/opt/icu4c/include
export LDFLAGS=-L/usr/local/opt/icu4c/lib
export CXXFLAGS=-I/usr/local/opt/icu4c/include
export LD_LIBRARY_PATH="/usr/local/opt/icu4c/lib:$LD_LIBRARY_PATH"
export LIBTOOLIZE=glibtoolize
export LIBTOOL=glibtool

Configuring

./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt

Building

In order to get Release build

make -j4

In order to get Debug build

make -j4 Debug