[pypy-dev] OS/X

Kenny Lasse Hoff Levinsen kennylevinsen at gmail.com
Tue Apr 15 15:22:17 CEST 2014


The issue is mainly that the bundled GCC is very old (the last GPLv2, IIRC), but I can install a new GCC and try to translate later tonight, unless someone else beats me to it.

Kenny / joushou

> On 15/04/2014, at 12.55, Armin Rigo <arigo at tunes.org> wrote:
> 
> Hi OS/X'ers,
> 
> I see in rpython/translator/platform/darwin.py that we use only
> "clang" as the compiler on OS/X.  There was some discussion in #pypy,
> as well as a proposal from Andrew Dalke to upgrade the gcc on the OS/X
> buildbot, which go along the lines of "clang is not necessarily always
> better than gcc on OS/X".  So I would like that the RPython toolchain
> supports both choices.
> 
> Please don't discuss clang-vs-gcc endlessly here, I'm sure there are
> people who think that clang is better than gcc and others that have
> the opposite view and both camps have strong opinions -- that's not
> the point and I don't honestly care.  This e-mail is *only* about
> supporting both choices.
> 
> Could someone on OS/X check that we can use gcc to translate pypy's?
> This can be checked by trying out a smaller example, like
> rpython/translator/goal/targetnopstandalone.py .  What fixes do you
> need in darwin.py?  Or simply pass some environment variable? Thanks!
> 
> 
> A bientôt,
> 
> Armin.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev


More information about the pypy-dev mailing list