mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
Add a short instruction for building on MacOSX using brew
This commit is contained in:
parent
c3724f8384
commit
5bf5e84622
36
doc/README.build.macosx.md
Normal file
36
doc/README.build.macosx.md
Normal file
@ -0,0 +1,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
|
||||
```
|
Loading…
Reference in New Issue
Block a user