The MSYS/MINGW build was started with 1.5 beta 4.
The only difference between the msvc build and the mingw build, is that the later one does not support the ms SEH exception handling. This means that some exceptions will not be catched and thus FB will abort.The sources using this exception handling are jrd/blob_filter.cpp, jrd/exe.cpp and jrd/fun.epp.
This port is maintained by Blas Rodriguez Somoza and Dmitry Sibiriakov.
The following packages from http://www.mingw.org are needed
MinGW
MSYS
If you intend to build an executable installer you will also need to download InnoSetup from http://www.jrsoftware.org/isdl.php
STEPS TO INSTALL
To make a clean build from scratch after making changes to the code use the clean.sh script
BUILD NOTE:
There is a bug in mingw (3.2) related with msvc format for 64bit integers. When the I64 format is used, the compiler throws warnings of two types:
warning: [...] format, different type arg (arg 3)
or
warning: unknown conversion type character `I' in format
warning: too many arguments for format
To create an installable build you need to execute the InnoSetup script.
A executable installer will be in firebird2/builds/install/arch-specific/mingw/super/
To install the build, simply run the resulting exe.
AUTOGEN
The autogen script creates an output file in the same directory where it is executed with the name config.out. If the autogen fails look at config.out first.
Some permission problems, most probably related with the CVS client, has been reported. If the autogen gives a permission related error, like
autom4te: cannot open configure: Permission denied
execute in the same directory:
>chmod -R +uw *