summaryrefslogtreecommitdiff
path: root/docs/installation/build_unix_iphone.html
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/installation/build_unix_iphone.html
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'docs/installation/build_unix_iphone.html')
-rw-r--r--docs/installation/build_unix_iphone.html45
1 files changed, 24 insertions, 21 deletions
diff --git a/docs/installation/build_unix_iphone.html b/docs/installation/build_unix_iphone.html
index c7c8f303..cb237dc3 100644
--- a/docs/installation/build_unix_iphone.html
+++ b/docs/installation/build_unix_iphone.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,8 @@
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="build_unix_freebsd.html">Prev</a> </td>
- <th width="60%" align="center">Chapter 7. 
- Building Berkeley DB for UNIX/POSIX
- </th>
+ <th width="60%" align="center">Chapter 7.  Building Berkeley DB for UNIX/POSIX
+ </th>
<td width="20%" align="right"> <a accesskey="n" href="build_unix_irix.html">Next</a></td>
</tr>
</table>
@@ -38,27 +37,29 @@
</div>
</div>
</div>
- <p>
- Building Berkeley DB in Apple iOS (known as iPhone OS previously)
- is the same as building for a conventional UNIX platform. This
- section lists the commands for building Berkeley DB in both the
- iPhone simulator (a software simulator included in the iPhone SDK
- that you can use to test your application without using the
- iPhone/iPod Touch) and the iPhone device.
+ <p>
+ Building Berkeley DB in Apple iOS (known as iPhone OS
+ previously) is the same as building for a conventional UNIX
+ platform. This section lists the commands for building
+ Berkeley DB in both the iPhone simulator (a software simulator
+ included in the iPhone SDK that you can use to test your
+ application without using the iPhone/iPod Touch) and the
+ iPhone device.
</p>
<p>
- Prior to building BDB in an iPhone simulator/iPhone device, set the
- required environment variables for iOS (iPhone OS). For a
- simulator/iPhone version 4.2 or older, set the LDFLAGS variable as
- follows:
+ Prior to building BDB in an iPhone simulator/iPhone device,
+ set the required environment variables for iOS (iPhone OS).
+ For a simulator/iPhone version 4.2 or older, set the LDFLAGS
+ variable as follows:
</p>
<pre class="programlisting">export LDFLAGS="-L$SDKROOT/usr/lib/"</pre>
<p>
Otherwise, set LDFLAGS as follows:
</p>
<pre class="programlisting">export LDFLAGS="-L$SDKROOT/usr/lib/system/"</pre>
- <p>
- The steps to build BDB in an iPhone simulator are as follows:
+ <p>
+ The steps to build BDB in an iPhone simulator are as
+ follows:
</p>
<pre class="programlisting">export CFLAGS="-arch i386 -pipe -no-cpp-precomp --sysroot=$SDKROOT"
export CXXFLAGS="-arch i386 -pipe -no-cpp-precomp --sysroot=$SDKROOT"
@@ -66,7 +67,7 @@ cd $BDB_HOME/build_unix
../dist/configure --host=i386-apple-darwin\
--prefix=$SDKROOT ...
make</pre>
- <p>
+ <p>
The steps to build BDB in an iPhone device are as follows:
</p>
<pre class="programlisting">export CFLAGS="-arch armv6 -pipe -Os -gdwarf-2\
@@ -77,10 +78,12 @@ cd $BDB_HOME/build_unix
../dist/configure --host=arm-apple-darwin9\
--prefix=$SDKROOT ...
make</pre>
- <p>
+ <p>
Both sets of commands create the BDB dynamic library -
- libdb-5.3.dylib. To build the static library, libdb-5.3.a, add the
- <code class="literal">--enable-shared=no</code> option while configuring.
+ libdb-6.1.dylib. To build the static library,
+ libdb-6.1.a, add the
+ <code class="literal">--enable-shared=no</code> option while
+ configuring.
</p>
</div>
<div class="navfooter">