camscape - for excellent IT solutions - IT knowledge base

linux :: firebird 2.5.x build with gcc7

David G.
TitleFirebird 2.5.x build with gcc7
Desc.Firebird 2.5.x build with gcc7
CodeKBLN0040 v1.0
Date28 august 2018

Building Firebird SQL on GCC 7 (and 6) is not straigthforward.


Configure it to use provided ICU (paths below can be changed as you wish):


./configure --prefix=/usr --libdir=/usr/lib64 \
            --enable-raw-devices \
            --enable-superserver \
            --with-fbconf=/etc/firebird \
            --with-fblib=/usr/lib64 \
            --with-fbsecure-db=/public/data/fb/securedb \
            --with-fblog=/var/log \
            --without-icu --without-editline



and then:


export CFLAGS="-std=gnu++98 -fno-lifetime-dse"
export CXXFLAGS="-std=gnu++98 -fno-lifetime-dse"

make install