[Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler
Robert Kern
robert.kern at gmail.com
Fri Sep 25 15:46:28 EDT 2009
On Fri, Sep 25, 2009 at 14:44, Arthur Bousquet <arthbous at indiana.edu> wrote:
> $ file libsw.so gives :
>
> libsw.so: Mach-O bundle i386
>
> How can I change it ? Is it because of my gfortran ?
Your gfortran is probably still configured to make x86 executables by
default. Try recompiling libsw.so with the flags
-arch x86 -arch x86_64
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list