]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/README.mingw32
ebl update win64 doc and add paches
[bacula/bacula] / bacula / src / win32 / README.mingw32
index 18961152e227a4773e9f218fc25fe5dafd8f6ee6..9e4aba984405041f9771c04a95ad5c713c2c3a08 100644 (file)
@@ -222,9 +222,9 @@ Exporting functions is now more or less automated.  If you find that
 a function name has been added, changed, or an argument modified,    
 simply do the following:
 
-   cd .../bacula/src/win32/dll 
+   cd .../bacula/src/win32/lib
    make                  (to build the .o files, note the link will fail)
-   ./make_def >bacula.def
+   ./make_def >bacula32.def           # or >bacula64.def
 
 This should rebuild the bacula.def file, but it uses relative paths
 and assumes you have the directory structure noted above. If you 
@@ -232,29 +232,29 @@ are using something different, you can set the NM variable at the
 top of the make_def file to use an absolute path to the correct
 directory.
 
-===== manual changing of bacula.def no longer necessary =====
+===== manual changing of bacula32.def or bacula64.def no longer necessary =====
 If you want to do it manually, please see below:
 Exporting a function requires a bit more work.  You must determine the
 C++ mangled name of the new function.
 
-   strings .../bacula/src/win32/dll/<file>.o | grep <symbol>
+   strings .../bacula/src/win32/lib/<file>.o | grep <symbol>
 
 Note, strings often will not show the desired symbol. In that case,
 use:
    
-   nm .../bacula/src/win32/dll/<file>.o
+   nm .../bacula/src/win32/lib/<file>.o
 
 Replace <file> with the base part of the name of the source code file
 which contains the new function.  Replace <symbol> with the name of
 the new function.  Remove the leading underscore and place the result
 in the file
 
-   .../bacula/src/win32/dll/bacula.def
-=== end manual changing of bacula.def ==========
+   .../bacula/src/win32/lib/bacula32.def
+=== end manual changing of bacula32.def or bacula64.def ==========
 
 If you add a new file, you will need to specify its name in
 
-   .../bacula/src/win32/dll/Makefile
+   .../bacula/src/win32/lib/Makefile
 and
    .../bacula/src/win32/libbac/Makefile
 
@@ -299,7 +299,7 @@ C++ mangled name of the new function.
 Note, strings often will not show the desired symbol. In that case,
 use:
 
-   nm .../bacula/src/win32/dll/<file>.o
+   nm .../bacula/src/win32/lib/<file>.o
 
 Replace <file> with the base part of the name of the source code file
 which contains the new function.  Replace <symbol> with the name of