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
STEPS TO INSTALL
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 do it in two steps, first prepare the output directory and then run the msvc BuildExecutableInstall.bat
First change to builds/install/arch-specific/mingw directory and run
./prepare_mingw.sh
After the script finish you need to open a dos window and cd to the builds/install/arch-specific/win32 directory under the firebird sources root.
The batch to build the installer is
BuildExecutableInstall.bat [DEBUG] [CS]
Where DEBUG means if the build is a debug one or not and CS means classic server installer.
After you start the batch, you will get a InnoSetup window. To build the install exe select the option compile. The installer will be located in builds/win32/install_image.
To install the build, simply run the resulting exe and copy MINGWM10.DLL file to the bin directory in the firebird install directory
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 *