I'm trying to configure the FFTW3 library to use in OS X 10.6.3. I have a machine capable of 64-bit, but I need to configure it as a 32-bit so that a 32-bit program (MATLAB) can interface with it (through mex). I'm trying to pass it the following configure command:
./configure CFLAGS="-m32 -b i386" CPPFLAGS="-b i386" LDFLAGS="-arch i386"
but when I go to run make, I get:
/usr/bin/ranlib: archive member: libbench2.a(my-getopt.o) cputype (16777223) does not match previous archive members cputype (7) (all members must match)
Any ideas?
./configure CFLAGS="-m32 -b i386" CPPFLAGS="-b i386" LDFLAGS="-arch i386"
but when I go to run make, I get:
/usr/bin/ranlib: archive member: libbench2.a(my-getopt.o) cputype (16777223) does not match previous archive members cputype (7) (all members must match)
Any ideas?