I have configure it and installed on my host PC (x86 architecture).It
has installed fftw3f.a and fftw3f.la at /usr/local/lib dir.
I can run my application which uses this library on host PC by linking
with -lfftw3f option.
I want to run my application on Beagleboard. I need to configure fftw3
library for Cortex A8 (ARMV7-A) and then my application also. I am
using CodeSourcery tool chain and Angstrom RFS and binaries.
one way to use OE for this as I came to know from IRC chat.
I have tried to configure FFTW with --with-gcc-arch=armv7-a but I got
warning as
"configure: WARNING: unrecognized options: --with-gcc-arch-armv7-a".
I have tried to configure with --enable-prtable-binary then it has
created library with fftw3.a and fftw3.la.
I got linking error when tried to link this library in my application
with -L/path/to/lib and linked with -lfftw3 option then got "collect2:
ld returned 1 exit status"
how to check library is compatible for code sourcery tool chain? where
am i doing wrong?
Does it have any other options to use Code Sourcery toolchain and
Angstrom RFS binaries for configuring FFTW3 library ?
Hey Rachit:
So CodeSourcery toolchain? That means you are cross-compiling.
Here is my CFLAGS, customize it to your own need.
As I’m using gentoo’s way to do the cross-compiling.
It surely build successfully.
On Tue, Aug 11, 2009 at 2:46 AM, Rachit Shah<rachit81@gmail.com> wrot>
Hello,
I have installed fftw 3.2.2 from www.fftw.org.
I have configure it and installed on my host PC (x86 architecture).It
has installed fftw3f.a and fftw3f.la at /usr/local/lib dir.
I can run my application which uses this library on host PC by linking
with -lfftw3f option.
I want to run my application on Beagleboard. I need to configure fftw3
library for Cortex A8 (ARMV7-A) and then my application also. I am
using CodeSourcery tool chain and Angstrom RFS and binaries.
You should be able to build fftw with OE also.
Unfortunately, gcc will not do a good job at generating the best
possible code for fftw. It should be possible to hand optimize fftw
for much better performance. A good place to start is in the "simd"
directory.