Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.8/doc/html/Installation-on-non_002dUnix-systems.html @ 82:d0c2a83c1364
Add FFTW 3.3.8 source, and a Linux build
author | Chris Cannam |
---|---|
date | Tue, 19 Nov 2019 14:52:55 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
81:7029a4916348 | 82:d0c2a83c1364 |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
2 <html> | |
3 <!-- This manual is for FFTW | |
4 (version 3.3.8, 24 May 2018). | |
5 | |
6 Copyright (C) 2003 Matteo Frigo. | |
7 | |
8 Copyright (C) 2003 Massachusetts Institute of Technology. | |
9 | |
10 Permission is granted to make and distribute verbatim copies of this | |
11 manual provided the copyright notice and this permission notice are | |
12 preserved on all copies. | |
13 | |
14 Permission is granted to copy and distribute modified versions of this | |
15 manual under the conditions for verbatim copying, provided that the | |
16 entire resulting derived work is distributed under the terms of a | |
17 permission notice identical to this one. | |
18 | |
19 Permission is granted to copy and distribute translations of this manual | |
20 into another language, under the above conditions for modified versions, | |
21 except that this permission notice may be stated in a translation | |
22 approved by the Free Software Foundation. --> | |
23 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ --> | |
24 <head> | |
25 <title>FFTW 3.3.8: Installation on non-Unix systems</title> | |
26 | |
27 <meta name="description" content="FFTW 3.3.8: Installation on non-Unix systems"> | |
28 <meta name="keywords" content="FFTW 3.3.8: Installation on non-Unix systems"> | |
29 <meta name="resource-type" content="document"> | |
30 <meta name="distribution" content="global"> | |
31 <meta name="Generator" content="makeinfo"> | |
32 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
33 <link href="index.html#Top" rel="start" title="Top"> | |
34 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> | |
35 <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> | |
36 <link href="Installation-and-Customization.html#Installation-and-Customization" rel="up" title="Installation and Customization"> | |
37 <link href="Cycle-Counters.html#Cycle-Counters" rel="next" title="Cycle Counters"> | |
38 <link href="Installation-on-Unix.html#Installation-on-Unix" rel="prev" title="Installation on Unix"> | |
39 <style type="text/css"> | |
40 <!-- | |
41 a.summary-letter {text-decoration: none} | |
42 blockquote.indentedblock {margin-right: 0em} | |
43 blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} | |
44 blockquote.smallquotation {font-size: smaller} | |
45 div.display {margin-left: 3.2em} | |
46 div.example {margin-left: 3.2em} | |
47 div.lisp {margin-left: 3.2em} | |
48 div.smalldisplay {margin-left: 3.2em} | |
49 div.smallexample {margin-left: 3.2em} | |
50 div.smalllisp {margin-left: 3.2em} | |
51 kbd {font-style: oblique} | |
52 pre.display {font-family: inherit} | |
53 pre.format {font-family: inherit} | |
54 pre.menu-comment {font-family: serif} | |
55 pre.menu-preformatted {font-family: serif} | |
56 pre.smalldisplay {font-family: inherit; font-size: smaller} | |
57 pre.smallexample {font-size: smaller} | |
58 pre.smallformat {font-family: inherit; font-size: smaller} | |
59 pre.smalllisp {font-size: smaller} | |
60 span.nolinebreak {white-space: nowrap} | |
61 span.roman {font-family: initial; font-weight: normal} | |
62 span.sansserif {font-family: sans-serif; font-weight: normal} | |
63 ul.no-bullet {list-style: none} | |
64 --> | |
65 </style> | |
66 | |
67 | |
68 </head> | |
69 | |
70 <body lang="en"> | |
71 <a name="Installation-on-non_002dUnix-systems"></a> | |
72 <div class="header"> | |
73 <p> | |
74 Next: <a href="Cycle-Counters.html#Cycle-Counters" accesskey="n" rel="next">Cycle Counters</a>, Previous: <a href="Installation-on-Unix.html#Installation-on-Unix" accesskey="p" rel="prev">Installation on Unix</a>, Up: <a href="Installation-and-Customization.html#Installation-and-Customization" accesskey="u" rel="up">Installation and Customization</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p> | |
75 </div> | |
76 <hr> | |
77 <a name="Installation-on-non_002dUnix-systems-1"></a> | |
78 <h3 class="section">10.2 Installation on non-Unix systems</h3> | |
79 | |
80 <p>It should be relatively straightforward to compile FFTW even on non-Unix | |
81 systems lacking the niceties of a <code>configure</code> script. Basically, | |
82 you need to edit the <code>config.h</code> header (copy it from | |
83 <code>config.h.in</code>) to <code>#define</code> the various options and compiler | |
84 characteristics, and then compile all the ‘<samp>.c</samp>’ files in the | |
85 relevant directories. | |
86 </p> | |
87 <p>The <code>config.h</code> header contains about 100 options to set, each one | |
88 initially an <code>#undef</code>, each documented with a comment, and most of | |
89 them fairly obvious. For most of the options, you should simply | |
90 <code>#define</code> them to <code>1</code> if they are applicable, although a few | |
91 options require a particular value (e.g. <code>SIZEOF_LONG_LONG</code> should | |
92 be defined to the size of the <code>long long</code> type, in bytes, or zero | |
93 if it is not supported). We will likely post some sample | |
94 <code>config.h</code> files for various operating systems and compilers for | |
95 you to use (at least as a starting point). Please let us know if you | |
96 have to hand-create a configuration file (and/or a pre-compiled binary) | |
97 that you want to share. | |
98 </p> | |
99 <p>To create the FFTW library, you will then need to compile all of the | |
100 ‘<samp>.c</samp>’ files in the <code>kernel</code>, <code>dft</code>, <code>dft/scalar</code>, | |
101 <code>dft/scalar/codelets</code>, <code>rdft</code>, <code>rdft/scalar</code>, | |
102 <code>rdft/scalar/r2cf</code>, <code>rdft/scalar/r2cb</code>, | |
103 <code>rdft/scalar/r2r</code>, <code>reodft</code>, and <code>api</code> directories. | |
104 If you are compiling with SIMD support (e.g. you defined | |
105 <code>HAVE_SSE2</code> in <code>config.h</code>), then you also need to compile | |
106 the <code>.c</code> files in the <code>simd-support</code>, | |
107 <code>{dft,rdft}/simd</code>, <code>{dft,rdft}/simd/*</code> directories. | |
108 </p> | |
109 <p>Once these files are all compiled, link them into a library, or a shared | |
110 library, or directly into your program. | |
111 </p> | |
112 <p>To compile the FFTW test program, additionally compile the code in the | |
113 <code>libbench2/</code> directory, and link it into a library. Then compile | |
114 the code in the <code>tests/</code> directory and link it to the | |
115 <code>libbench2</code> and FFTW libraries. To compile the <code>fftw-wisdom</code> | |
116 (command-line) tool (see <a href="Wisdom-Utilities.html#Wisdom-Utilities">Wisdom Utilities</a>), compile | |
117 <code>tools/fftw-wisdom.c</code> and link it to the <code>libbench2</code> and FFTW | |
118 libraries | |
119 </p> | |
120 <hr> | |
121 <div class="header"> | |
122 <p> | |
123 Next: <a href="Cycle-Counters.html#Cycle-Counters" accesskey="n" rel="next">Cycle Counters</a>, Previous: <a href="Installation-on-Unix.html#Installation-on-Unix" accesskey="p" rel="prev">Installation on Unix</a>, Up: <a href="Installation-and-Customization.html#Installation-and-Customization" accesskey="u" rel="up">Installation and Customization</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p> | |
124 </div> | |
125 | |
126 | |
127 | |
128 </body> | |
129 </html> |