Imported Upstream version 0.60.7
[platform/upstream/aspell.git] / manual / aspell.html / Using-32_002dBit-Dictionaries-on-a-64_002dBit-System.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- This is the user's manual for Aspell
4
5 GNU Aspell is a spell checker designed to eventually replace Ispell.
6 It can either be used as a library or as an independent spell checker.
7
8 Copyright © 2000-2019 Kevin Atkinson.
9
10 Permission is granted to copy, distribute and/or modify this document
11 under the terms of the GNU Free Documentation License, Version 1.1 or
12 any later version published by the Free Software Foundation; with no
13 Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.  A
14 copy of the license is included in the section entitled "GNU Free
15 Documentation License". -->
16 <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
17 <head>
18 <title>GNU Aspell 0.60.7: Using 32-Bit Dictionaries on a 64-Bit System</title>
19
20 <meta name="description" content="Aspell 0.60.7 spell checker user&rsquo;s manual.">
21 <meta name="keywords" content="GNU Aspell 0.60.7: Using 32-Bit Dictionaries on a 64-Bit System">
22 <meta name="resource-type" content="document">
23 <meta name="distribution" content="global">
24 <meta name="Generator" content="makeinfo">
25 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
26 <link href="index.html#Top" rel="start" title="Top">
27 <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
28 <link href="Installing.html#Installing" rel="up" title="Installing">
29 <link href="Upgrading-from-Aspell-0_002e50.html#Upgrading-from-Aspell-0_002e50" rel="next" title="Upgrading from Aspell 0.50">
30 <link href="Loadable-Filter-Notes.html#Loadable-Filter-Notes" rel="prev" title="Loadable Filter Notes">
31 <style type="text/css">
32 <!--
33 a.summary-letter {text-decoration: none}
34 blockquote.smallquotation {font-size: smaller}
35 div.display {margin-left: 3.2em}
36 div.example {margin-left: 3.2em}
37 div.indentedblock {margin-left: 3.2em}
38 div.lisp {margin-left: 3.2em}
39 div.smalldisplay {margin-left: 3.2em}
40 div.smallexample {margin-left: 3.2em}
41 div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
42 div.smalllisp {margin-left: 3.2em}
43 kbd {font-style:oblique}
44 pre.display {font-family: inherit}
45 pre.format {font-family: inherit}
46 pre.menu-comment {font-family: serif}
47 pre.menu-preformatted {font-family: serif}
48 pre.smalldisplay {font-family: inherit; font-size: smaller}
49 pre.smallexample {font-size: smaller}
50 pre.smallformat {font-family: inherit; font-size: smaller}
51 pre.smalllisp {font-size: smaller}
52 span.nocodebreak {white-space:nowrap}
53 span.nolinebreak {white-space:nowrap}
54 span.roman {font-family:serif; font-weight:normal}
55 span.sansserif {font-family:sans-serif; font-weight:normal}
56 ul.no-bullet {list-style: none}
57 -->
58 </style>
59
60
61 </head>
62
63 <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
64 <a name="Using-32_002dBit-Dictionaries-on-a-64_002dBit-System"></a>
65 <div class="header">
66 <p>
67 Next: <a href="Upgrading-from-Aspell-0_002e50.html#Upgrading-from-Aspell-0_002e50" accesskey="n" rel="next">Upgrading from Aspell 0.50</a>, Previous: <a href="Loadable-Filter-Notes.html#Loadable-Filter-Notes" accesskey="p" rel="prev">Loadable Filter Notes</a>, Up: <a href="Installing.html#Installing" accesskey="u" rel="up">Installing</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
68 </div>
69 <hr>
70 <a name="Using-32_002dBit-Dictionaries-on-a-64_002dBit-System-1"></a>
71 <h3 class="appendixsec">E.5 Using 32-Bit Dictionaries on a 64-Bit System</h3>
72
73 <p>Due to an oversight, Aspell compiled dictionaries not only depend on
74 the endian order, they also depend on the the size of the
75 <code>size_t</code> type, which is generally different on 32 and
76 64-bit systems.  The <code>size_t</code> type is used in the hash function
77 of the compiled dictionaries.  To force the hash function to use a
78 32-bit integer instead, use the <samp>--enable-32-bit-hash-fun</samp>
79 configure option.  This option will allow you to use dictionaries
80 compiled on a 32-bit machine on a 64-bit one as long as the endian
81 order is the same.  Of course, dictionaries compiled on a 64-bit
82 machine without this option enabled will no longer be usable.  If
83 Aspell detects that an incompatible hash function is used, it will fail
84 with:
85 </p><blockquote>
86 <p>Error: The file &ldquo;<var>some-file</var>&rdquo; is not in the proper format. Incompatible hash function.
87 </p></blockquote>
88
89
90
91
92 </body>
93 </html>