2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB Reference Guide: Linux</title>
8
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
12
<a name="2"><!--meow--></a>
13
<table width="100%"><tr valign=top>
14
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td>
15
<td align=right><a href="../../ref/build_unix/irix.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/macosx.html"><img src="../../images/next.gif" alt="Next"></a>
18
<h1 align=center>Linux</h1>
20
<p><li><b>I can't compile and run multithreaded applications.</b>
21
<p>Special compile-time flags are required when compiling threaded
22
applications on Linux. If you are compiling a threaded application, you
23
must compile with the _REENTRANT flag:
24
<p><blockquote><pre>cc -D_REENTRANT ...</pre></blockquote>
25
<p>The Berkeley DB library will automatically build with the correct options.
27
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/build_unix/irix.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/macosx.html"><img src="../../images/next.gif" alt="Next"></a>
29
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>