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

yes, it should be like this.
thank you
Bookaa

*From:* Amaury Forgeot d'Arc <mailto:[email protected]>
*Sent:* Wednesday, May 23, 2012 9:26 PM
*To:* bookaa <mailto:[email protected]>
*Cc:* [email protected] <mailto:[email protected]>
*Subject:* Re: [pypy-dev] bug with MinGW32

2012/5/23 bookaa <[email protected] <mailto:[email protected]>>

    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
[email protected]
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
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to