[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac hardware?
On Fri, Sep 15, 2000 at 09:38:53AM +0900, Steve Núñez wrote:
> Speaking of OpenBSD and MacOSX, has the only-static-compile problem been
> solved for gnustep on OpenBSD? I looked into this a few months (6-9) back
> with OBSD 2.6 and could not find a way to use shared libraries. At the time
> NetBSD had the same problem, but a quick look at the gnustep webpage
> (http://www.gnustep.org) shows that NetBSD now links dynamically when using
> elf. Gnustep is coming along nicely, and would be a great way to both have
> your cake and eat it too --- OpenBSD and the MacOSX API's (or very close to
> them).
Short answer: No. Not yet.
Long answer: No. I actually mailed Marc Espie about this last night. The
problem has to do w/ the fact that the Objective-C runtime (libobjc) isn't
having its global constructors properly initialized at execution time when it's
linked in as a shared library. Thus, none of the runtime's classes are
available (things that are needed, like ``Object''). ;) Ooops.
I'm still trying to figure out exactly why this is happening (I think it has
to do w/ the library's global constructor list not being added onto the built
binary's __CTOR_LIST__, but I haven't confirmed it).
Alexander