On Sun, Oct 10, 2010 at 10:21 AM, Federico G. Benavento
<benave...@gmail.com> wrote:
> in /sys/src/cmd/python/plan9.c main() try changing
>        setfcr(getfcr()&~FPINVAL);
> to
>        setfcr(getfcr()&~(FPINVAL|FPOVFL));

OK I added that and had to ad FPOVFL to the defines:
#if defined(T386)
#define FPINVAL (1<<0)
#define FPOVFL  (1<<3)


Then I was able to re-compile it with mk upto here:
pcc -c -I.. -I../Include -DT386 -DPy_BUILD_CORE -DNDEBUG mysnprintf.c
/sys/src/cmd/python/Python/mysnprintf.c:65[stdin:9959] incompatible
types: "INT" and "VOID" for op "AS"
pcc: cpp: 8c 3108704: error
mk: pcc -c -I.. ...  : exit status=rc 3108701: pcc 3108703: cpp: 8c
3108704: error
mk: for (i in ...  : exit status=rc 3107954: rc 3108584: mk 3108585: error

ian

Reply via email to