1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
# Building Firebird on MacOSX using brew
## Preparing
- Install XCode
```bash
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
```bash
./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt
```
## Building
In order to get Release build
```bash
make -j4
```
In order to get Debug build
```bash
make -j4 Debug
```
|