Re: [Python-Dev] Status of C compilers for Python on Windows

2014年10月11日 07:10:24 -0700

On 2014年10月11日 13:59:52 +0000 (UTC)
Sturla Molden <[email protected]> wrote:
> Antoine Pitrou <[email protected]> wrote:
> 
> > But you can compile OpenBLAS with one compiler and then link it to
> > Python using another compiler, right? There is a single C ABI.
> 
> BLAS and LAPACK are actually Fortran, which does not have a single C ABI.
> The ABI depends on the Fortran compiler. g77 and gfortran will produce
> different C ABIs. This is a consistent source of PITA in any scientific
> programming that combines C and Fortran.
But is that CPython's fault? I don't think so.
> Another thing is that libraries are different. MSVC wants a .lib file, but
> MinGW produces .a files like GCC does on Linux.
It sound like whatever MSVC produces should be the defacto standard
under Windows.
If Microsoft released a (GNU/)Linux compiler which produced
incompatible library files, I don't think anyone would regard them very
highly.
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to