DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info) myodbc-3-51-windows-building

Info Catalog (mysql.info) myodbc-windows-source-requirements (mysql.info) myodbc-windows-source-installation (mysql.info) myodbc-3-51-windows-testing
 
 23.1.6.2 Building MyODBC 3.51
 .............................
 
 MyODBC 3.51 source distributions include `Makefiles' that uses `nmake'.
 In the distribution, you can find `Makefile' for building the release
 version and `Makefile_debug' for building debugging versions of the
 driver libraries and DLLs.
 
 To build the driver, use this procedure:
 
   1. Download and extract the sources to a folder, then change location
      into that folder. The following command assumes the folder is
      named `myodbc3-src':
 
           C:\> cd myodbc3-src
 
   2. Edit `Makefile' to specify the correct path for the MySQL client
      libraries and header files. Then use the following commands to
      build and install the release version:
 
           C:\> nmake -f Makefile
           C:\> nmake -f Makefile install
 
      `nmake -f Makefile' builds the release version of the driver and
      places the binaries in subdirectory called `Release'.
 
      `nmake -f Makefile install' installs (copies) the driver DLLs and
      libraries(`myodbc3.dll', `myodbc3.lib') to your system directory.
 
   3. To build the debug version, use `Makefile_Debug' rather than
      `Makefile', as shown below:
 
           C:\> nmake -f Makefile_debug
           C:\> nmake -f Makefile_debug install
 
   4. You can clean and rebuild the driver by using:
 
           C:\> nmake -f Makefile clean
           C:\> nmake -f Makefile install
 
 
    * Make sure to specify the correct MySQL client libraries and header
      files path in the Makefiles (set the `MYSQL_LIB_PATH' and
      `MYSQL_INCLUDE_PATH' variables). The default header file path is
      assumed to be `C:\mysql\include'. The default library path is
      assumed to be `C:\mysql\lib\opt' for release DLLs and
      `C:\mysql\lib\debug' for debug versions.
 
    * For the complete usage of `nmake', visit
      `http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vcce4/html/evgrfRunningNMAKE.asp'.
 
    * If you are using the BitKeeper tree for compiling, All
      Windows-specific `Makefiles' are named as `Win_Makefile*'.
 
Info Catalog (mysql.info) myodbc-windows-source-requirements (mysql.info) myodbc-windows-source-installation (mysql.info) myodbc-3-51-windows-testing
automatically generated byinfo2html