diff options
Diffstat (limited to 'docs/installation/build_unix_iphone.html')
| -rw-r--r-- | docs/installation/build_unix_iphone.html | 45 |
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"> |
