From 7e79ed8810123d127d8d6d973e008e8fe31a23e7 Mon Sep 17 00:00:00 2001 From: brodsom Date: Tue, 18 Nov 2003 03:12:35 +0000 Subject: [PATCH] -Fix threading in MinGW (and the failed tests in fbtcs) --- configure.in | 4 ++-- doc/README.build.mingw.html | 14 +++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 20c5bc8fad..bb33d02549 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.183 2003-11-13 03:41:45 stryqx Exp $ +dnl $Id: configure.in,v 1.184 2003-11-18 03:11:54 brodsom Exp $ dnl ############################# INITIALISATION ############################### @@ -558,7 +558,7 @@ case "$PLATFORM" in #define FB_PIPE_NAME "interbas"]) AC_DEFINE_UNQUOTED(FB_PIPE_NAME,"$FB_PIPE_NAME") AC_SUBST(FB_PIPE_NAME) - XE_PREPEND(-lmpr -lversion -lws2_32 -lole32,LIBS) + XE_PREPEND( -mno-cygwin -mthreads -lmpr -lversion -lws2_32 -lole32,LIBS) ;; *) diff --git a/doc/README.build.mingw.html b/doc/README.build.mingw.html index 73ab8bd5f8..526d9dee0c 100644 --- a/doc/README.build.mingw.html +++ b/doc/README.build.mingw.html @@ -81,7 +81,19 @@ or
warning: unknown conversion type character `I' in format
warning: too many arguments for format

-

4.- TROUBLESHOOTING

+

4.- INSTALL.

+

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

+ +

5.- TROUBLESHOOTING

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.