+Starting in version 1.39.x the source tree structure and the build
+process have changed significantly.
-This code written by:
+Building the Windows version with versions of Microsoft Visual C++
+prior to VC8 (2005) is no longer supported nor is Cygwin32 required.
- Christopher S. Hull, February 2004
+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.
-This directory <bacula-src>/src/win32 contains the build
-environment for building the native Win32 Bacula File daemon.
-The directory structure is:
+The new directory structure is:
- 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 (not yet complete)
- filed Links to core filed code
- findlib Links to core findlib code
- lib Links to core lib code
- pthreads The POSIX pthreads library (third party)
- zlib The zlib library (third party)
+ bacula-top Top level directory -- any name
+ bacula Top level Bacula source directory -- any name
+ src
+ win32 Main directory where Windows version is built.
-To build it, make sure that VC++ 6.0 include files are in
-the INCLUDE environment variable, the libraries are in
-the LIB environment variable and the compiler and tools
-are on the PATH. Then enter:
+ docs Top level Bacula documentation directory
- make
+ 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
-See License.txt for the License.
+ 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
+files README.mingw32/README.mingw64 for building in a cross-compile environment on Unix
+and README.vc8 for building using Microsoft Visual C++ 2005.