如何编译独立的 FFTW 库?
我需要从 FFTW 源代码在 Ubuntu 10.04 中编译一个独立的 .a 或 .so 库。我发现源代码发行版的目录布局非常复杂,我不知道从哪里开始。
我还需要使用旧版本的 gcc。
I need to compile a standalone .a or .so library in Ubuntu 10.04 from the FFTW source code. I find that the directory layout of the source distribution is so complex that I have no idea where to start.
I need to use an older version of gcc as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只想让库安装
libfftw3-dev
软件包,http://packages.ubuntu.com/lucid/amd64/libfftw3-dev/filelist
要从源代码构建,请按照手册中的简单步骤操作,
http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix
它实际上是使用软件的每一个
autoconf
的基本安装:If you just want the libraries install the
libfftw3-dev
package,http://packages.ubuntu.com/lucid/amd64/libfftw3-dev/filelist
To build from source follow the trivial steps from the manual,
http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix
It's literally the basic installation of every piece of
autoconf
using software ever: