[pypy-issue] [issue838] CFLAGS on OSX (pypy 1.6)
vad
tracker at bugs.pypy.org
Thu Aug 25 08:50:09 CEST 2011
vad <davide.setti at gmail.com> added the comment:
Looks like pypy 1.6 is not able to recognize cflags on OSX. This is pip install
simplejson with cpython:
Running setup.py install for simplejson
building 'simplejson._speedups' extension
/usr/bin/cc -fno-strict-aliasing -O3 -march=core2 -msse4.1 -w -pipe -DNDEBUG
-g -fwrapv -O3 -Wall -Wstrict-prototypes -
I/usr/local/Cellar/python/2.7.1/include/python2.7 -c simplejson/_speedups.c -o
build/temp.macosx-10.4-x86_64-2.7/simplejson/_speedups.o
/usr/bin/cc -L/usr/local/Cellar/readline/6.1/lib -bundle -undefined
dynamic_lookup -L/usr/local/Cellar/readline/6.1/lib build/temp.macosx-10.4-
x86_64-2.7/simplejson/_speedups.o -o build/lib.macosx-10.4-x86_64-
2.7/simplejson/_speedups.so
The same with pypy:
Running setup.py install for simplejson
building 'simplejson._speedups' extension
cc -arch x86_64 -fPIC -Wimplicit -I/Users/vad/Source/Envs/djangobench-
pypy16/include -c simplejson/_speedups.c -o build/temp.macosx-10.6-x86_64-
2.7/simplejson/_speedups.o
simplejson/_speedups.c: In function ‘encoder_encode_float’:
simplejson/_speedups.c:2055: warning: implicit declaration of function
‘Py_IS_INFINITY’
simplejson/_speedups.c:2055: warning: implicit declaration of function
‘Py_IS_NAN’
cc -shared -undefined dynamic_lookup -arch x86_64 build/temp.macosx-10.6-
x86_64-2.7/simplejson/_speedups.o -o build/lib.macosx-10.6-x86_64-
2.7/simplejson/_speedups.pypy-16.so
I don't have CFLAGS (or other *FLAGS) in my shell environment.
----------
status: unread -> chatting
title: PIL on OSX -> CFLAGS on OSX (pypy 1.6)
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue838>
________________________________________
More information about the pypy-issue
mailing list