[pypy-dev] bug with MinGW32

Matti Picus matti.picus at gmail.com
Fri May 25 11:54:12 CEST 2012


On 25/05/2012 3:35 AM, bookaa wrote:

> yes, it should be like this.
> thank you
> Bookaa
>
> *From:* Amaury Forgeot d'Arc <mailto:amauryfa at gmail.com>
> *Sent:* Wednesday, May 23, 2012 9:26 PM
> *To:* bookaa <mailto:rorsoft at gmail.com>
> *Cc:* pypy-dev at python.org <mailto:pypy-dev at python.org>
> *Subject:* Re: [pypy-dev] bug with MinGW32
>
> 2012/5/23 bookaa <rorsoft at gmail.com <mailto:rorsoft at gmail.com>>
>
>     if platform.platform.cc
>     <http://platform.platform.cc>.startswith('mingw32'):
>
>
> This is better written as:
>     from pypy.translator.platform import platform
>     if platform.name <http://platform.name> == 'minwg32'
> See rlib/libffi.py for an example.
>
> -- 
> Amaury Forgeot d'Arc
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev

Thanks bookaa. I committed this to the default branch, also allowing 
cc=gcc, i.e.

--cc=gcc

or

$export CC=gcc

Support for mingw seems not to be complete:

$/c/Python27/python pytest.py pypy/rlib/test/test_rposix.py

shows failing tests with cc set via environment variable CC.
Matti


More information about the pypy-dev mailing list