[Pythonmac-SIG] C module creation on MacPython
Andrew Diller
dillera@isc.upenn.edu
Mon, 25 Oct 1999 10:48:38 -0400 (EDT)
Wow- I'm hoping that I can get MPW to work. We only have one copy of
Codewarrior here, and I was hoping to be able to use MPW to do some
things.
I was able to get sgmlop compiled and linked w/ codewarrior, now I'm going
to download MPW and give it a go.
I'll let the list know what happens.
thanks for the input.
-andy
- - - - - - - - - - - - - - - - - - -
Andrew Diller dillera@isc.upenn.edu
Information Systems and Computing
University of Pennsylvania
v: 3-7360 f: 8-9348
On Mon, 25 Oct 1999, Jack Jansen wrote:
>
> > > What is needed to create a c module in MacPython?
> >
> > Doug Wyatt gave some pointers for compiling with CodeWarrior. If you
> > don't have CodeWarrior, you can download MPW from Apple's ftp site for
> > free and compile using that.
>
> Corran,
> I'm very surprised that your recipe works, as it mixes MPW libraries (in the
> extension module) with CodeWarrior libraries (in PythonCore). I would expect
> all sort of trouble with I/O, malloc/free, and possibly loads of other places.
>
> If you're actually using this method, could you post a bit of information on
> what works, what doesn't work and whether there are specific things you should
> do (like calling printf, I can imagine)?
> --
> Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
> Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
> www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm
>
>