Date: Fri, 29 Apr 2005 00:04:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 543 ************************************************** Thursday 28 April 2005 Number 543 ************************************************** Subjects for today 1 Re: Test version of Python 2.4.1 compiled with Innotek GCC : Andrew MacIntyre 2 Re: Test version of Python 2.4.1 compiled with Innotek GCC : Paul Smedley 3 Re: Test version of Python 2.4.1 compiled with Innotek GCC : Andrew MacIntyre **= Email 1 ==========================** Date: Wed, 27 Apr 2005 20:58:39 +1100 From: Andrew MacIntyre Subject: Re: Test version of Python 2.4.1 compiled with Innotek GCC Paul Smedley wrote: > Hi All, > Haven't had time to test this at all yet, but I finally got around to > looking at Python again using Innotek GCC and was totally successful in > getting a clean compile this time - including the dynamically loaded > modules (damn underscores!! :P) > > If anyone has a chance to have a play - they can grab the zip file from > http://smedley.info/python241-os2-innotekgcc.zip 5,889,534 bytes Things are progressing then. Are you using a custom makefile, or a configure'd makefile? If the latter, I'd be very interested to see the log (stdout+stderr) from a "make test". I haven't done anything with the Innotek toolchain because the last time I looked it was a 30+MB download, and I'm still at the end of a PSTN modem :-( Regards, Andrew. ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac at pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia **= Email 2 ==========================** Date: Thu, 28 Apr 2005 07:01:57 +0930 From: Paul Smedley Subject: Re: Test version of Python 2.4.1 compiled with Innotek GCC Heya Andy, Andrew MacIntyre wrote: > Paul Smedley wrote: > >> Hi All, >> Haven't had time to test this at all yet, but I finally got around to >> looking at Python again using Innotek GCC and was totally successful >> in getting a clean compile this time - including the dynamically >> loaded modules (damn underscores!! :P) >> >> If anyone has a chance to have a play - they can grab the zip file >> from http://smedley.info/python241-os2-innotekgcc.zip 5,889,534 bytes > > > Things are progressing then. Are you using a custom makefile, or a > configure'd makefile? If the latter, I'd be very interested to see > the log (stdout+stderr) from a "make test". > > I haven't done anything with the Innotek toolchain because the last time > I looked it was a 30+MB download, and I'm still at the end of a PSTN > modem :-( I'm currently using a bastardised version of your makefile with a few subtle changes :) Once things are smoothed out a bit more I'll post the changes I made - then we just need to work out how to differentiate between emx and innotek gcc in the source tree :) Cheers, Paul. **= Email 3 ==========================** Date: Thu, 28 Apr 2005 22:12:08 +1100 From: Andrew MacIntyre Subject: Re: Test version of Python 2.4.1 compiled with Innotek GCC Paul Smedley wrote: > I'm currently using a bastardised version of your makefile with a few > subtle changes :) The only claim I make about that makefile is that it gets the job done. I know that quite a few improvements could be made to it... > Once things are smoothed out a bit more I'll post the changes I made - > then we just need to work out how to differentiate between emx and > innotek gcc in the source tree :) First thought: perhaps the cleanest way involves the PYCC_GCC macro - its currently defined to 1 (which could be retained to mean a bog standard EMX toolchain & runtime). We could use the value 2 to indicate the Innotek toolchain & runtime. Differences between the two environments could then be handled like so: #if defined(PYOS_OS2) && defined(PYCC_GCC) #if PYCC_GCC > 1 ... Innotek #else --- std EMX #endif #endif I'm open to better ideas... Regards, Andrew. ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac at pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia