From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/installation/build_wince.html | 306 ++++++++++++++++++++++++------------- 1 file changed, 199 insertions(+), 107 deletions(-) (limited to 'docs/installation/build_wince.html') diff --git a/docs/installation/build_wince.html b/docs/installation/build_wince.html index b37a49cc..32056ed6 100644 --- a/docs/installation/build_wince.html +++ b/docs/installation/build_wince.html @@ -14,13 +14,11 @@ -

These project files can be used to build Berkeley DB for the Windows Mobile platform.

+

+ These project files can be used to build Berkeley DB for the + Windows Mobile platform. +

-

Building Berkeley DB for Windows Mobile

+

Building Berkeley DB for Windows Mobile

@@ -149,17 +183,26 @@ project files for Microsoft Visual 2005 with the Mobile SDK installed:

-

Visual Studio 2005

+

Visual Studio 2005

    -
  1. Choose File -> Open Workspace.... -Navigate to the build_wince directory, select Berkeley_DB -and click Open.
  2. -
  3. Select the desired target platform from the platform drop-down menu.
  4. -
  5. Build the desired projects.
  6. +
  7. + Choose File -> Open + Workspace.... Navigate to the + build_wince directory, + select Berkeley_DB and click + Open. +
  8. +
  9. + Select the desired target platform from the + platform drop-down menu. +
  10. +
  11. + Build the desired projects. +
@@ -167,13 +210,14 @@ and click Open.
-

Build results

+

Build results

-

The results of your build will be placed in any one of the following Berkeley DB subdirectories, -depending on the configuration that you chose: -

+

+ The results of your build will be placed in any one + of the following Berkeley DB subdirectories, depending + on the configuration that you chose:

@@ -197,31 +241,39 @@ depending on the configuration that you chose:

-

-

When building your application during development, you must -link against -libdb_small53sd.lib or against libdb_sql53sd.lib for SQL features. You can -also build using a release version of the Berkeley DB libraries and tools, -which will be placed in the -build_wince\(Platform)\Release_static directory. -You must add the build_wince directory to the list -of include directories of your application's project, or copy the Berkeley DB -include files to a location in your Visual Studio include path.

+

+

+ When building your application during development, + you must link against + libdb_small61sd.lib + or against + libdb_sql61sd.lib + for SQL features. You can also build using a release + version of the Berkeley DB libraries and tools, which + will be placed in the + build_wince\(Platform)\Release_static + directory. You must add the + build_wince directory to the + list of include directories of your application's + project, or copy the Berkeley DB include files to a + location in your Visual Studio include path. +

-

Changing Build Configuration Type

+

Changing Build Configuration Type

-

-This section contains information on how to change between a dynamic -library (.dll) and static library (.lib). The library projects and their default -output and configuration in the Release build is as follows: -

+

+ This section contains information on how to change + between a dynamic library (.dll) and static library + (.lib). The library projects and their default output and + configuration in the Release build is as follows: +

@@ -233,107 +285,131 @@ output and configuration in the Release build is as follows: - + - + - + - + - +
Project Default OutputDefault ConfigurationDefault + Configuration
db_small_staticlibdb_small53s.liblibdb_small61s.lib Static Library
db_staticlibdb53s.liblibdb61s.lib Static Library
db_sqllibdb_sql53.dlllibdb_sql61.dll Dynamic Library
db_sql_staticlibdb_sql53s.liblibdb_sql61s.lib Static Library

-To change a project configuration type in Visual Studio 2005, select a -project and do the following: -

+ To change a project configuration type in Visual Studio + 2005, select a project and do the following: +

    -
  1. Choose Project->Properties and navigate to Configuration Properties.
  2. -
  3. Under Project Defaults, change the Configuration Type to your desired type.
  4. +
  5. + Choose + Project->Properties + and navigate to Configuration + Properties.
  6. +
  7. + Under Project Defaults, + change the Configuration Type to + your desired type. +
-

Note: After this change, the output file names change to the Visual Studio 2005 defaults based on the project name.

+

+ Note: After this change, the output file names change to + the Visual Studio 2005 defaults based on the project + name. +

-

Building Berkeley DB for different target platforms

+

Building Berkeley DB for different target platforms

+

+ There are many possible target CPU architectures for a + Windows Mobile application. This section outlines the + process required to add a new target architecture to the + project files supplied with Berkeley DB. +

+

+ The Visual Studio 2005 project files will by default + build for Pocket PC 2003 and Smartphone 2003, and Windows + Mobile 6.5.3 Professional. If you want to build for other + platforms such as Windows Mobile 6.0, 6.1, or 6.5, you + need to follow the steps provided in this section. +

- There are many possible target CPU architectures for a Windows - Mobile application. This section outlines the process required to - add a new target architecture to the project files supplied with - Berkeley DB. -

-

- The Visual Studio 2005 project files will by default build for - Pocket PC 2003 and Smartphone 2003, and Windows Mobile 6.5.3 Professional. If you want to - build for other platforms such as Windows Mobile 6.0, 6.1, or 6.5, you need to follow the steps provided in this section. -

-

- Different target architectures are available in different Platform - SDK or DTK downloads from Microsoft. The appropriate SDK must be installed - for your mobile architecture before you can build for that - platform. You can find the downloads at the Microsoft Developer Center page. -

+ Different target architectures are available in + different Platform SDK or DTK downloads from Microsoft. + The appropriate SDK must be installed for your mobile + architecture before you can build for that platform. You + can find the downloads at the + Microsoft Developer Center page. +

-

Visual Studio 2005

+

Visual Studio 2005

  1. - Choose File -> Open Workspace.... - Navigate to the build_wince directory, - select Berkeley_DB and click Open. -
  2. -
  3. - From the Solution explorer window, - right-click the Solution Berkeley_DB and - select Configuration manager...
  4. -
  5. - In the Active solution platform: drop - down box select New...
  6. -
  7. - From the Type or select the new platform - drop-down box, select a configuration from the ones - available and click OK.
  8. + Choose File -> Open + Workspace.... Navigate to the + build_wince directory, + select Berkeley_DB and click + Open. +
  9. - Click Close from the - Configuration Manager dialog box. -
  10. + From the Solution + explorer window, right-click the + Solution Berkeley_DB and + select Configuration manager... +
  11. + In the Active solution + platform: drop down box select + New...
  12. +
  13. + From the Type or select the new + platform drop-down box, select a + configuration from the ones available and click + OK.
  14. - The target platform drop-down now contains the platform - just added. -
  15. + Click Close from the + Configuration Manager + dialog box. +
  16. - Build as per the instructions given at the beginning of this chapter. -
  17. + The target platform drop-down now contains + the platform just added. + +
  18. + Build as per the instructions given at the + beginning of this chapter. +
@@ -341,18 +417,34 @@ project and do the following:
-

BDB SQL Notes

+

BDB SQL Notes

- After building for a different platform, change the deployment remote directory for the db_sql project to run the wce_sql sample application: -

+ After building for a different platform, change the + deployment remote directory for the + db_sql project to run the + wce_sql sample application: +

    -
  1. Select db_sql from the Solution explorer window.
  2. -
  3. Choose Project->Properties and navigate to Configuration Properties.
  4. -
  5. Under Deployment, change the remote directory to %CSIDL_PROGRAM_FILES%\wce_sql.
  6. +
  7. + Select db_sql from the + Solution explorer + window. +
  8. +
  9. + Choose + Project->Properties and + navigate to Configuration + Properties. +
  10. +
  11. + Under Deployment, change + the remote directory to + %CSIDL_PROGRAM_FILES%\wce_sql. +
-- cgit v1.2.1