On Dec 27, 2010, at 10:27 PM, bill lam wrote:

> I you can share your binary built and it works not just for iforth alone, 
> you might email me the dylib and I'll add that to jal addons.

Hi Bill-

You can find the dylib here:

<http://vze26m98.net/j-lang/libfftw3.3.dylib.zip>

and I packed up my build directory for FFTW here:

<http://vze26m98.net/j-lang/fftw-3.2.2.zip>

The two files in the build directory:

make32.typescript
make64.typescript

are logs of the build process. I used the following arguments to ./configure:

./configure --enable-shared --enable-sse2 --with-combined-threads 
--disable-fortran CFLAGS 
="-O2 -arch i386"

./configure --enable-shared --enable-sse2 --with-combined-threads --disable-fma 
--disable- 
fortran CFLAGS="-O2 -arch x86_64"

because FFTW wasn't happy with OSX building for two architectures at once.

So you have to use lipo to put the Universal dylib together:

lipo libfftw3.3-32.dylib libfftw3.3-64.dylib -create -output libfftw3.3.dylib

HTH, Charles



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to