Re: [Pyobjc-dev] building on 10.1.5
Brought to you by:
ronaldoussoren
|
From: <bb...@ma...> - 2002-11-02 16:54:35
|
On Saturday, November 2, 2002, at 11:27 AM, Steven Majewski wrote:
> Has anyone been able to build pyobjc on 10.1.5 ?
It won't build on 10.1.5 right now.
> Using the default compiler, it always seems to die while
> trying to compile register.m.
Ugh-- shouldn't be doing that! Definitely a compiler bug.
> I saw some notes on the list about problems with the file being so
> large, so I tried using gcc3 to build ( Is this what's standard on
> 10.2 ? ) -- it compiles register.m without problem but runs into
> a load of errors later on.
The automatically generated files have loads of references to 10.2
specific variables and API. This could be fixed.
All of the new-to-10.2 APIs are surrounded by #ifdef blocks and, as
such, could be conditionally removed. It would be a matter of:
- augmenting the generation scripts to deal with this
- adding the generation scripts to the overall module build process
[Ronald indicated that there are bugs in the generator scripts, but I
don't know what they are]
- passing the header files to be processed by the generators
through CPP with the appropriated -D flags to cause 10.1 or 10.2
specific builds [or, simply build the 10.1 binaries on a 10.1 machine].
The last step isn't strictly necessary but might be nice in that it
would allow 10.1 binaries to be build on a 10.2 machine.
b.bum
|