gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libobjc2 on windows


From: Vincent Richomme
Subject: Re: libobjc2 on windows
Date: Tue, 16 Mar 2010 00:27:03 +0100
User-agent: RoundCube Webmail/0.2

> On Mon, 15 Mar 2010 19:05:03 +0100, Vincent Richomme
> <address@hidden> wrote:
>> Ok so finally I have decided to dig in GNUstep and I am recompiling 
>> everything from scratch.
>> I have compiled/installed gnustep-make and now I am fighting with
>> gnustep-base:
>> 
>> $ ./configure --enable-libffi --prefix=/GNUstep
>> --with-default-config=/GNUstep/GNUstep.conf
>> 
>> 
>> checking for _objc_unexpected_exception in runtime... no
>> configure: error: Your objective-c runtime library does not 
>> appear to support any mechanism to set a handler for uncaught native
>> exceptions.  
>> Please upgrade your runtime or re-install gnustep-make without
>> native-objc-exceptions!
>> 
>> 
>> In config.log, related line :
>> unexpected.m:6: undefined reference to
> `_imp___objc_unexpected_exception)
>> 
>> 
>> So I thought I just need to build your objc lib but doesn't help.
>> 
>> How can I fix it ?
>> 
> 
> Finally I have recompiled gnustep-make by disabling
> native-objc-exceptions.
> Hope it was the right fix

When compiling gnustep-base I have some remark on windows 

1)in inet_pton.c you should add #include <stdint.h> to have definition for
uint8_t

#include <ctype.h>
#include <sys/types.h>
#include <sys/param.h>
+ #include <stdint.h>
#include <errno.h>


2)In Headers\Additions\GNUstepBase\preface.h you should protect
_WIN32_WINNT
because mingw-w64 already defines it:

#if defined(__WIN32__)
#include <w32api.h>
+#ifndef _WIN32_WINNT
#define _WIN32_WINNT Windows2000
+#endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]