]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/README.win32
kes Reapply my bat.conf install script in qt-console. I think I
[bacula/bacula] / bacula / src / win32 / README.win32
index 599666f5a9aabe73fc00003560123503f90d0d70..77c7ceb643f2ce817249dce00672d77c2d933d2b 100644 (file)
@@ -1,96 +1,45 @@
-
-This directory <bacula-src>/src/win32 contains the build
-environment for building the native Win32 Bacula File daemon,
-the native Win32 bconsole program and the wx-console GUI console
-program.
-
-The directory structure is:
-
-  bacula/src/win32      Makefiles and scripts
-    baculafd            Visual Studio Files
-      Release           Release objects, and bacula-fd.exe
-       Debug            Debug object, and bacula-fd.exe produced
-                           by VC++
-    console             Build of console program and bconsole.conf
-      Release           Release objects  and bconsole.exe
-      Debug             Debug objects 
-    wx-console          Buld of wx-console program and wx-console-conf
-      Release           Release objects and wx-console.exe
-      Debug             Debug objects.
-    filed               Links to core filed code
-    findlib             Links to core findlib code
-    lib                 Links to core lib code
-
-  depkgs-win32
-    pthreads            The POSIX pthreads library (third party)
-    zlib                The zlib library (third party)
-    wx                  The wxWidgets library (third party)
-
-To build it:
-- Make sure nmake, and VC++ libraries and includes are setup correctly
-  in PATH, INCLUDE, and LIB environment variables.
-- cd depkgs-win32
-  make
-- You may have to build wx with VC++ (as was the case for me).
-  In that case, open wx/src/wxWindows.dsp with VC++, select
-  static complilation (not the DLL) of "Win32 Release", then
-  click build all.
-- cd bacula
-  ./configure
-  cd src/win32
-  make
-
-That should be all there is too it. The winbacula-1.xx.y.exe should be
-in the current directory.
-
-
-See License.txt for the License.
-
-The native Win32 interface code was written by:
-
-   Christopher S. Hull, February 2004
-
-
-For more details of building wx, see depkgs-win32/wx/docs/msw/install.txt
-
-The easiest way to build this is to have a Visual Studio C++ 6.0. 
-However, you can use the free Microsoft C++ compiler with a bit
-of additional work.
-
-Here are additional pointers on building wx-console supplied by Nicolas Boichat:
-
-
-Tools I used (I think the 3 first one are included in VStudio) :
-- VC++ toolkit : http://msdn.microsoft.com/visualc/vctoolkit2003/
-- Windows Platform SDK :
-   http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
-   (Core SDK and Internet Development SDK)
-- nmake (it got it with .Net Framework SDK)
-- lib.exe found in the SDK-base/Bin/win64 directory (works fine
-  on a 32 bit Windows).
-
-Instructions if you want to build wx-console :
-- wxWidgets 2.4.2 compilation
-  + In include/wx/string.h, replace line 195 by
-      #if defined(__VISUALC__) // && defined(_MT) && !defined(_DLL)
-  + In src/common/string.cpp, replace line 167 by
-      #if defined(__VISUALC__) // && defined(_MT) && !defined(_DLL)
-  + Follow the instructions in docs/msw/install.txt
-     (Visual C++ 6.0 compilation - Using makefiles)
-
-- Make sure that the environment variables are set as:
-  - PATH includes the directories bin of both the C++ Toolkit and the SDK
-  - INCLUDE includes the directories include of both the C++ Toolkit and the SDK
-  - LIB includes the directories Lib of both the C++ Toolkit and the SDK
-    
-- Compile bacula depkg-win32 with Visual Studio or try the
-  supplied makefiles as described in the doc.
-
-- Compile wx-console with nmake -f wx-console.mak in
-  src/win32/wx-console
-
-- Additional information on using the free Micrsosoft C++ see
-  http://sapdb.2scale.net/moin.cgi/MS_20C_2b_2b_20Toolkit
-
-NOTE! I (Kern) cannot build wxWindows with the Makefile -- I had to use                
-VC Studio directly to do so following their instructions.
+Starting in version 1.39.x the source tree structure and the build
+process have changed significantly.
+
+Building the Windows version with versions of Microsoft Visual C++
+prior to VC8 (2005) is no longer supported nor is Cygwin32 required.
+
+There are now two supported methods of building the Windows version.
+The MinGW cross-compile environment is used to build it on Unix
+systems.  Microsoft Visual C++ 2005 is used to build it on Microsoft
+Windows systems.
+
+The new directory structure is:
+
+  bacula-top                 Top level directory -- any name
+    bacula                   Top level Bacula source directory -- any name
+      src
+        win32                Main directory where Windows version is built.
+
+    docs                     Top level Bacula documentation directory
+
+    depkgs-mingw32 (MinGW32) 3rd Party Dependencies for MinGW32 build
+or
+    depkgs-msvc (MS VC++)    3rd Party Dependencies for Microsoft VC++ build.
+      bin              --
+      include            |
+      lib                |
+      man                |   Created by script
+      nsis               |-- .../bacula/src/win32/build-depkgs-mingw32
+      scons              |
+      share              |
+      src                |
+      ssl              --
+      vss
+        inc                  A copy of the Windows VSS/inc directory
+
+    cross-tools (MinGW32)    Cross compilation tools (gcc, g++, mingw32, ...)
+      binutils-mingw32 --
+      gcc-mingw32        |   Created by script
+      mingw32            |-- .../bacula/src/win32/build-win32-cross-tools
+      mingw-utils        |
+      source           --
+
+Information on building the Windows version of Bacula is contained in the
+two files README.mingw32 for building in a cross-compile environment on Unix
+and README.vc8 for building using Microsoft Visual C++ 2005.