Flavio <[EMAIL PROTECTED]> wrote: > I followed the steps you describe exactly and I am still gettin this > error message when i try to compile. > > here is the command I give: > > f2py -c --compiler=/opt/xmingw/bin/i386-mingw32msvc-gcc > n/i386-mingw32msvc-g77 -L /opt/xmingw/i386-mingw32msvc/lib/ -lpython2.4 > -m flib flib.f > > and this is the error: > > copying > > /usr/lib/python2.4/site-packages/numpy-1.0b5-py2.4-linux-i686.egg/numpy/f2py/src/fortranobject.c > -> /tmp/tmpIkxhAr/src.linux-i686-2.4 > copying > > /usr/lib/python2.4/site-packages/numpy-1.0b5-py2.4-linux-i686.egg/numpy/f2py/src/fortranobject.h > -> /tmp/tmpIkxhAr/src.linux-i686-2.4 > adding '/tmp/tmpIkxhAr/src.linux-i686-2.4/flib-f2pywrappers.f' to > sources. > running build_ext > error: don't know how to compile C/C++ code on platform 'posix' with > '/opt/xmingw/bin/i386-mingw32msvc-gcc' compiler > > any further suggestions?
That looks like a distutils error. We don't use distutils to build our stuff and I haven't really used it before so I can't help you there. You want to tell distutils that the compiler is just gcc somehow and takes the same options. Not sure how you do that. -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list