Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.5/doc/html/Installation-on-non_002dUnix-systems.html @ 42:2cd0e3b3e1fd
Current fftw source
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 13:40:26 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
41:481f5f8c5634 | 42:2cd0e3b3e1fd |
---|---|
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.5, 30 July 2016). | |
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 5.2, http://www.gnu.org/software/texinfo/ --> | |
24 <head> | |
25 <title>FFTW 3.3.5: Installation on non-Unix systems</title> | |
26 | |
27 <meta name="description" content="FFTW 3.3.5: Installation on non-Unix systems"> | |
28 <meta name="keywords" content="FFTW 3.3.5: 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.smallquotation {font-size: smaller} | |
43 div.display {margin-left: 3.2em} | |
44 div.example {margin-left: 3.2em} | |
45 div.indentedblock {margin-left: 3.2em} | |
46 div.lisp {margin-left: 3.2em} | |
47 div.smalldisplay {margin-left: 3.2em} | |
48 div.smallexample {margin-left: 3.2em} | |
49 div.smallindentedblock {margin-left: 3.2em; font-size: smaller} | |
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.nocodebreak {white-space:nowrap} | |
61 span.nolinebreak {white-space:nowrap} | |
62 span.roman {font-family:serif; font-weight:normal} | |
63 span.sansserif {font-family:sans-serif; font-weight:normal} | |
64 ul.no-bullet {list-style: none} | |
65 --> | |
66 </style> | |
67 | |
68 | |
69 </head> | |
70 | |
71 <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> | |
72 <a name="Installation-on-non_002dUnix-systems"></a> | |
73 <div class="header"> | |
74 <p> | |
75 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> | |
76 </div> | |
77 <hr> | |
78 <a name="Installation-on-non_002dUnix-systems-1"></a> | |
79 <h3 class="section">10.2 Installation on non-Unix systems</h3> | |
80 | |
81 <p>It should be relatively straightforward to compile FFTW even on non-Unix | |
82 systems lacking the niceties of a <code>configure</code> script. Basically, | |
83 you need to edit the <code>config.h</code> header (copy it from | |
84 <code>config.h.in</code>) to <code>#define</code> the various options and compiler | |
85 characteristics, and then compile all the ‘<samp>.c</samp>’ files in the | |
86 relevant directories. | |
87 </p> | |
88 <p>The <code>config.h</code> header contains about 100 options to set, each one | |
89 initially an <code>#undef</code>, each documented with a comment, and most of | |
90 them fairly obvious. For most of the options, you should simply | |
91 <code>#define</code> them to <code>1</code> if they are applicable, although a few | |
92 options require a particular value (e.g. <code>SIZEOF_LONG_LONG</code> should | |
93 be defined to the size of the <code>long long</code> type, in bytes, or zero | |
94 if it is not supported). We will likely post some sample | |
95 <code>config.h</code> files for various operating systems and compilers for | |
96 you to use (at least as a starting point). Please let us know if you | |
97 have to hand-create a configuration file (and/or a pre-compiled binary) | |
98 that you want to share. | |
99 </p> | |
100 <p>To create the FFTW library, you will then need to compile all of the | |
101 ‘<samp>.c</samp>’ files in the <code>kernel</code>, <code>dft</code>, <code>dft/scalar</code>, | |
102 <code>dft/scalar/codelets</code>, <code>rdft</code>, <code>rdft/scalar</code>, | |
103 <code>rdft/scalar/r2cf</code>, <code>rdft/scalar/r2cb</code>, | |
104 <code>rdft/scalar/r2r</code>, <code>reodft</code>, and <code>api</code> directories. | |
105 If you are compiling with SIMD support (e.g. you defined | |
106 <code>HAVE_SSE2</code> in <code>config.h</code>), then you also need to compile | |
107 the <code>.c</code> files in the <code>simd-support</code>, | |
108 <code>{dft,rdft}/simd</code>, <code>{dft,rdft}/simd/*</code> directories. | |
109 </p> | |
110 <p>Once these files are all compiled, link them into a library, or a shared | |
111 library, or directly into your program. | |
112 </p> | |
113 <p>To compile the FFTW test program, additionally compile the code in the | |
114 <code>libbench2/</code> directory, and link it into a library. Then compile | |
115 the code in the <code>tests/</code> directory and link it to the | |
116 <code>libbench2</code> and FFTW libraries. To compile the <code>fftw-wisdom</code> | |
117 (command-line) tool (see <a href="Wisdom-Utilities.html#Wisdom-Utilities">Wisdom Utilities</a>), compile | |
118 <code>tools/fftw-wisdom.c</code> and link it to the <code>libbench2</code> and FFTW | |
119 libraries | |
120 </p> | |
121 <hr> | |
122 <div class="header"> | |
123 <p> | |
124 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> | |
125 </div> | |
126 | |
127 | |
128 | |
129 </body> | |
130 </html> |