Re: [Pyobjc-dev] PyObjC & Fink
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2002-09-23 15:21:40
|
> > BTW: The fix you [Ronald] mentioned for compiling pyobjc w/Python 2.2 > worked except that it seems the precompiler has gone into an infinite > loop while compiling-- it has been using 70% of the CPU for over 10 > minutes! > > gcc -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.2 -c > Modules/objc/register.m -o > build/temp.darwin-6.1-PowerMacintosh-2.2/register.o -g -O0 > -DOBJC_PARANOIA_MODE -DPyOBJC_UNIQUE_PROXY -DMACOSX > > Maybe I'll let it run -- that is one BIG file... maybe I need to > regenerate it for 2.2 vs. 2.3?? > It is not the precompiler, it is the compiler itself. The source file is way too big, I've replaced it with a smaller version in my last checkin. The file contains a lot of functions that can be used in the method table of an Objective-C class and the forward the call to python. I hope to find a better way to do this in the future, maybe using libffi. Ronald |