On Mon, Jan 26, 2009 at 02:33:08PM +0100, Jonathan Schleifer wrote:
> Am 26.01.2009 um 04:37 schrieb Marc Vaillant:
>> The objc runtime is neglected and likely broken. Someone had
>> in a previous post that you try cocotron, which is probably the best
>> maintained objc implementation for windows. It has its own runtime.
>> Did you try it? It designed to be installed as a cross compiler on a
>> mac, installing in an xcode compatible configuration (the idea being
>> that you take your mac xcode project, add a windows target, and just
>> build). I'm sure it would build just fine as a cross compiler on
>> as well.
> The problem is that I'm currently writing my own Objective C framework,
> so using an other framework isn't really an idea.
So you don't want your framework to depend on Foundation? BTW, what machine
have you been developing for before trying mingw?
> The bug is either on
> linking or with the runtime itself, as it even happens with the gcc 4
> from cygwin and with all versions of gcc 4 I built on Linux.
> If it's a runtime thing, I could maybe replace the code in my framework
> so it doesn't use libobjc for that. But I think it should be fixed in
> libobjc, as most frameworks still have a dependency on libobjc.
> Any ideas?
Your best bet would be to track down the lead developer of cocotron.
He's on #macdev at irc.freenode.org just about every day. His nick is
cocotron. He's there right now in fact. He should be able to help you.