just try f2py according to http://www.scipy.org/F2PY_Windows.
The following woks in dos cmd window.
E:\Miser3p2F\opcntrl\python E:\python25\scripts\f2py.py -c --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71 -m cobyla cobyla.pyf cobyla2.f trstlp.f
But I directly run run_compile() of f2py2e with
sys.argv=sys.argv+['-c','--fcompiler=gnu95','--compiler=mingw32', '-lmsvcr71','-m', 'cobyla','E:\\Miser3p2F\opcntrl\\cobyla.pyf','E:\\Miser3p2F\opcntrl\\cobyla2.f','E:\\Miser3p2F\opcntrl\\trstlp.f']
, it does not work.
I have tried several simple examples, they all work.
I do not know why.
ghzhao from Curtin
___________________________________________________________
好玩贺卡等你发，邮箱贺卡全新上线！
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20090105/474be074/attachment.html