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: Mon, 15 Mar 2010 16:16:45 +0100
User-agent: RoundCube Webmail/0.2

> On 15 Mar 2010, at 15:07, Vincent Richomme wrote:
> 
>> I am a bit tired, I am using clang and talking about gcc so of course
>> ignore my last email.
>> Now the question is : does clang support TLS on mingw and how enable it
?
>> I will dig that.
> 
> 
> The TLS stuff is only needed for the sender-dependent dispatch, which I
> will probably disable for the first release of libobjc2, so don't worry
> about it for now.
> 

Ok fine so this time this error is bit harder to fix for me : 

clang libobjc_entry.c -c \
              -MMD -MP -DDLL_EXPORT -D__OBJC_RUNTIME_INTERNAL__=1
-D_XOPEN_SOURCE=500 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_WITH_DLL
-DBUILD_libobjc_DLL=1 -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN
-DGSDIAGNOSE -Wno-import -g -Werror -std=c99 -g -march=native -fexceptions
-I. -I/home/Vincent/GNUstep/Library/Headers
-I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers \
               -o obj/libobjc_entry.c.o
libobjc_entry.c:54:6: error: expected parameter declarator
asm (".section .idata$3\n" ".long 0,0,0,0,0,0,0,0");
     ^
libobjc_entry.c:54:6: error: expected ')'
libobjc_entry.c:54:5: note: to match this '('
asm (".section .idata$3\n" ".long 0,0,0,0,0,0,0,0");
    ^
libobjc_entry.c:54:1: error: type specifier missing, defaults to 'int'
[-Wimplicit-int]
asm (".section .idata$3\n" ".long 0,0,0,0,0,0,0,0");
^
4 diagnostics generated.
make[2]: *** [obj/libobjc_entry.c.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [libobjc.all.library.variables] Error 2






reply via email to

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