diff options
Diffstat (limited to 'docs/installation/build_vxworks_notes.html')
| -rw-r--r-- | docs/installation/build_vxworks_notes.html | 98 |
1 files changed, 61 insertions, 37 deletions
diff --git a/docs/installation/build_vxworks_notes.html b/docs/installation/build_vxworks_notes.html index ad75e763..c6a9592c 100644 --- a/docs/installation/build_vxworks_notes.html +++ b/docs/installation/build_vxworks_notes.html @@ -14,7 +14,7 @@ <body> <div xmlns="" class="navheader"> <div class="libver"> - <p>Library Version 11.2.5.3</p> + <p>Library Version 12.1.6.1</p> </div> <table width="100%" summary="Navigation header"> <tr> @@ -22,9 +22,7 @@ </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="build_vxworks.html">Prev</a> </td> - <th width="60%" align="center">Chapter 8. - Building Berkeley DB for VxWorks - </th> + <th width="60%" align="center">Chapter 8. Building Berkeley DB for VxWorks </th> <td width="20%" align="right"> <a accesskey="n" href="build_vxworks_faq.html">Next</a></td> </tr> </table> @@ -42,72 +40,100 @@ <dl> <dt> <span class="sect2"> - <a href="build_vxworks_notes.html#idp491336">Building and Running the Demo Program</a> + <a href="build_vxworks_notes.html#idp934576">Building and Running the Demo Program</a> </span> </dt> <dt> <span class="sect2"> - <a href="build_vxworks_notes.html#idp518216">Building and Running the Utility Programs</a> + <a href="build_vxworks_notes.html#idp896400">Building and Running the Utility Programs</a> </span> </dt> <dt> <span class="sect2"> - <a href="build_vxworks_notes.html#idp518576">Support for Replication Manager</a> + <a href="build_vxworks_notes.html#idp923512">Support for Replication Manager</a> </span> </dt> </dl> </div> - <p>Berkeley DB currently disallows the <a href="../api_reference/C/dbopen.html#open_DB_TRUNCATE" class="olink">DB_TRUNCATE</a> flag to the -<a href="../api_reference/C/dbopen.html" class="olink">DB->open()</a> method on VxWorks because the operations this flag represents -are not fully supported under VxWorks.</p> - <p>The <a href="../api_reference/C/dbsync.html" class="olink">DB->sync()</a> method is implemented using an ioctl call into the file -system driver with the FIOSYNC command. Most, but not all file system -drivers support this call. Berkeley DB requires the use of a file system -that supports FIOSYNC.</p> + <p> + Berkeley DB currently disallows the <a href="../api_reference/C/dbopen.html#open_DB_TRUNCATE" class="olink">DB_TRUNCATE</a> flag to + the <a href="../api_reference/C/dbopen.html" class="olink">DB->open()</a> method on VxWorks because the operations this + flag represents are not fully supported under VxWorks. + </p> + <p> + The <a href="../api_reference/C/dbsync.html" class="olink">DB->sync()</a> method is implemented using an ioctl call into + the file system driver with the FIOSYNC command. Most, but not + all file system drivers support this call. Berkeley DB + requires the use of a file system that supports + FIOSYNC. + </p> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> - <h3 class="title"><a id="idp491336"></a>Building and Running the Demo Program</h3> + <h3 class="title"><a id="idp934576"></a>Building and Running the Demo Program</h3> </div> </div> </div> - <p>The demo program should be built in a manner very similar to building -Berkeley DB. If you want different or additional BSP build specifications you -should add them by following the directions indicated in -<a class="xref" href="build_vxworks.html#build_vxworks_intro6x" title="Building for VxWorks 6.x">Building for VxWorks 6.x</a>.</p> - <p>The demo program can be downloaded and run by calling the entry function -<span class="bold"><strong>dbdemo</strong></span> with the pathname of a database to use. The demo -program will ask for some input keys. It creates a database and adds -those keys into the database, using the reverse of the key as the data -value. When complete you can either enter EOF (control-D) or -<span class="bold"><strong>quit</strong></span> and the demo program will display all of the key/data -items in the database.</p> + <p> + The demo program should be built in a manner very + similar to building Berkeley DB. If you want different or + additional BSP build specifications you should add them by + following the directions indicated in <a class="xref" href="build_vxworks.html#build_vxworks_intro6x" title="Building for VxWorks 6.x">Building for VxWorks 6.x</a>. + </p> + <p> + The demo program can be downloaded and run by calling + the entry function <span class="bold"><strong>dbdemo</strong></span> + with the pathname of a database to use. The demo program + will ask for some input keys. It creates a database and + adds those keys into the database, using the reverse of + the key as the data value. When complete you can either + enter EOF (control-D) or <span class="bold"><strong>quit</strong></span> + and the demo program will display all + of the key/data items in the database. + </p> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> - <h3 class="title"><a id="idp518216"></a>Building and Running the Utility Programs</h3> + <h3 class="title"><a id="idp896400"></a>Building and Running the Utility Programs</h3> </div> </div> </div> - <p>The Berkeley DB utilities can be downloaded and run by calling the function equivalent to the utility's name. The utility functions take a string containing all the supported arguments. The program will then decompose that string into a traditional argc/argv used internally. For example, to execute <a href="../api_reference/C/db_stat.html" class="olink">db_stat</a> utility on a database within an environment you would execute the following from the windsh prompt. Obviously you would change the pathname and database name to reflect -your system.</p> + <p> + The Berkeley DB utilities can be downloaded and run by + calling the function equivalent to the utility's name. The + utility functions take a string containing all the + supported arguments. The program will then decompose that + string into a traditional argc/argv used internally. For + example, to execute <a href="../api_reference/C/db_stat.html" class="olink">db_stat</a> utility on a database within an + environment you would execute the following from the + windsh prompt. Obviously you would change the pathname and + database name to reflect your system. + </p> <pre class="programlisting">> db_stat "-h /tmp/myenvhome -d mydatabase.db"</pre> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> - <h3 class="title"><a id="idp518576"></a>Support for Replication Manager</h3> + <h3 class="title"><a id="idp923512"></a>Support for Replication Manager</h3> </div> </div> </div> - <p>The Berkeley DB Replication Manager component is available on Vxworks 6.x because it provides support for TCP/IP sockets and POSIX 1003.1 - style networking and threads. You must build Berkley DB for Vxworks using the command line. Prior to building Berkeley DB, ensure you set appropriate values for the variables - specified in Step 1 of <a class="xref" href="build_vxworks.html#build_vxworks_intro6x" title="Building for VxWorks 6.x">Building for VxWorks 6.x</a>. To use Berkeley DB Replication Manager, <code class="literal">netLib</code> and <code class="literal">ioLib</code> must be present in the Vxworks image. - </p> + <p> + The Berkeley DB Replication Manager component is + available on Vxworks 6.x because it provides support for + TCP/IP sockets and POSIX 1003.1 style networking and + threads. You must build Berkley DB for Vxworks using the + command line. Prior to building Berkeley DB, ensure you + set appropriate values for the variables specified in Step + 1 of <a class="xref" href="build_vxworks.html#build_vxworks_intro6x" title="Building for VxWorks 6.x">Building for VxWorks 6.x</a>. To use + Berkeley DB Replication Manager, <code class="literal">netLib</code> + and <code class="literal">ioLib</code> must be present in the + Vxworks image. + </p> </div> </div> <div class="navfooter"> @@ -121,9 +147,7 @@ your system.</p> <td width="40%" align="right"> <a accesskey="n" href="build_vxworks_faq.html">Next</a></td> </tr> <tr> - <td width="40%" align="left" valign="top">Chapter 8. - Building Berkeley DB for VxWorks - </td> + <td width="40%" align="left" valign="top">Chapter 8. Building Berkeley DB for VxWorks </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> |
