From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 10 Oct 2010 21:30:27 -0400 Message-ID: From: Michaelian Ennis To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Python Topicbox-Message-UUID: 6111e0c8-ead6-11e9-9d60-3106f5b1d025 On Sun, Oct 10, 2010 at 10:21 AM, Federico G. Benavento wrote: > in /sys/src/cmd/python/plan9.c main() try changing > =A0 =A0 =A0 =A0setfcr(getfcr()&~FPINVAL); > to > =A0 =A0 =A0 =A0setfcr(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=3Drc 3108701: pcc 3108703: cpp: 8c 3108704: error mk: for (i in ... : exit status=3Drc 3107954: rc 3108584: mk 3108585: erro= r ian