[pypy-dev] [pypy] Adding gcc flags to Makefile

Joe Borġ mail at jdborg.com
Thu Jun 19 10:28:26 CEST 2014


Hi all,

Because I've had to build zlib away from its normal home, I need to pass -I
to gcc (LD_LIBRARY_PATH doesn't work).

Setting this -I fixes my build issue:

gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused
/tmp/usession-release-2.3.1-3/platcheck_57.c -o
/tmp/usession-release-2.3.1-3/platcheck_57.o
/tmp/usession-release-2.3.1-3/platcheck_57.c:33:19: fatal error: bzlib.h:
No such file or director

gcc -c -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused
-I/scratch/root/include /tmp/usession-release-2.3.1-3/platcheck_57.c -o
/tmp/usession-release-2.3.1-3/platcheck_57.o


Thanks,
Joseph David Borġ
josephb.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140619/0a73f863/attachment.html>


More information about the pypy-dev mailing list