X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 13 May 2006 12:25:25 +0300 From: alex bodnaru Subject: Re: Howto create extensions for PythonD In-reply-to: <1147510871.247443.240860@y43g2000cwc.googlegroups.com> To: djgpp AT delorie DOT com Message-id: <4465A605.6050105@alex3> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, he References: <1147465565 DOT 398297 DOT 52230 AT g10g2000cwb DOT googlegroups DOT com> <446503CB DOT 1060606 AT alex3> <1147487385 DOT 985215 DOT 148130 AT j73g2000cwa DOT googlegroups DOT com> <1147495866 DOT 132298 DOT 261280 AT u72g2000cwu DOT googlegroups DOT com> <1147510871 DOT 247443 DOT 240860 AT y43g2000cwc DOT googlegroups DOT com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk i'd like to remaind there is an sqlite patch for djgpp, that may work out of the box with pyrhond. interested people please search for 'djgpp' on http://www.sqlite.org . alex decker wrote: > So this is more a general python question than one specific to PythonD. > There are lots of examples... just google for them. Do someresearch for > yourself. Yoiu can start with the python.org documentation for > extending python in C or C++: http://docs.python.org/ext/intro.htm. > > PythonD distutils interface build many modules 'out of the box'. The > only limitation (and it is a biggie) is dxe3. The export table has to > be explicitly defined symbol by symbol and linked staticly into the > main image. Hence, PythonD is not guaranteed to successfuly import your > DJGPP-compiled module, as it may encounter 'unresolved symbols' it > requires. DXE3 also will not support modules with C++ dependencies or > variables. > > HTH, > Ben Decker > caddit.net > >