<br>FWIW, I'm fairly certain that the binaries for win32 are compiled using mingw, so I'm pretty certain that it's possible. I use MSVCC myself, so I can't be of much help though.<br><br><br><div><span class="gmail_quote">
On 7/13/07, <b class="gmail_sendername"><a href="mailto:numpy-discussion@robince.ftml.net">numpy-discussion@robince.ftml.net</a></b> <<a href="mailto:numpy-discussion@robince.ftml.net">numpy-discussion@robince.ftml.net
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>By making replacing line 807 in fcompiler/__init__.py (return None)
<br>with:<br>        from numpy.distutils.fcompiler.none import NoneFCompiler<br>        compiler = NoneFCompiler()<br>        return compiler<br><br>I have been able to get a little bit further with my problems. I'm not
<br>sure if this is the correct way to do the import since I'm quite new to<br>Python.<br><br>It seems to build OK now, but there is a linking error: I'm not sure why<br>-lmsvcr71 is included in the linker flags, since I should be using
<br>cygwin (setup.py build --compiler=mingw32). I think this is because it<br>is not finding the fortran libraries needed. These should come with<br>cygwin, but I'm not sure how to point to them. Also it still reports not
<br>finding a fortran compiler, although g77 is installed in cygwin. Looking<br>through the code I'm wondering if there is some confusion between use of<br><a href="http://os.name">os.name</a> (which is 'nt') and 
sys.platform (which is 'win32') - I thought<br>perhaps that's why its reporting not Fortran compilers supported for<br>'nt'. Not too sure though. Again any help greatfully received.<br><br>... lots of similar undefinied references ...
<br>C:\/libf77blas.a(xerbla.o):xerbla.f:(.text+0xe): undefined reference to<br>`_s_wsfe'<br>C:\/libf77blas.a(xerbla.o):xerbla.f:(.text+0x29): undefined reference to<br>`_do_fio'<br>C:\/libf77blas.a(xerbla.o):xerbla.f:
(.text+0x44): undefined reference to<br>`_do_fio'<br>C:\/libf77blas.a(xerbla.o):xerbla.f:(.text+0x49): undefined reference to<br>`_e_wsfe'<br>C:\/libf77blas.a(xerbla.o):xerbla.f:(.text+0x5d): undefined reference to
<br>`_s_stop'<br>collect2: ld returned 1 exit status<br>error: Command "g++ -mno-cygwin -shared<br>build\temp.win32-2.5\Release\numpy\linal<br>g\lapack_litemodule.o -LC:\ -Lc:\Python25\libs -Lc:\Python25\PCBuild<br>
-llapack -l<br>f77blas -lcblas -latlas -lpython25 -lmsvcr71 -o<br>build\lib.win32-2.5\numpy\linalg<br>\lapack_lite.pyd" failed with exit status 1<br><br>Thanks,<br><br>Robin<br><br>_______________________________________________
<br>Numpy-discussion mailing list<br><a href="mailto:Numpy-discussion@scipy.org">Numpy-discussion@scipy.org</a><br><a href="http://projects.scipy.org/mailman/listinfo/numpy-discussion">http://projects.scipy.org/mailman/listinfo/numpy-discussion
</a><br></blockquote></div><br><br clear="all"><br>-- <br>.  __<br>.   |-\<br>.<br>.  <a href="mailto:tim.hochberg@ieee.org">tim.hochberg@ieee.org</a>