[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ***JUNK MAIL*** FW: libobjc compile issue on mingw
From: |
Did anyone figure this out??? |
Subject: |
Re: ***JUNK MAIL*** FW: libobjc compile issue on mingw |
Date: |
Wed, 1 Jan 2014 03:04:41 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Adam Fedor <fedor <at> gnu.org> writes:
>
>
> On Aug 18, 2013, at 11:33 AM, David Chisnall <David.Chisnall <at>
cl.cam.ac.uk> wrote:
>
> >
> > I believe that for win32, you should be able to replace this entire
sequence with a direct reference to
> SmallObjectClasses, as DLLs on Win32 are not position-independent code
(the sequence from the call 7f to
> the leal are just finding the address of SmallObjectClasses).
> >
> > I believe that Mathieu had some patches to fix the memory allocation in
block_to_imp.c correctly.
> >
> > David
> >
> >
> OK. I have no assembly experience, so if you can give me a hint, I can
try it. Thanks.
>
> Also I forgot to mention I had to manually link -lmman and -lpthreads.
Once I get things working I'll try to
> put this all back in the CMake files so it's more automatic.
>
> Adam
>
>
>
> _______________________________________________
> Gnustep-dev mailing list
> Gnustep-dev <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>
Is there a binary of libobjc2 in existence for windows??
About to pull my hair out here. As usual, trying to get one thing working
using open sourced has pushed me 50 stack levels down of trying to compile
dependencies.
I'm assuming I can't use arc + clang without linking against libobjc2 on
windows, so I've been trying to get it installed.
Orignal problem:
$ make CC=clang
This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
Making all for tool test...
Compiling file test.m ...
test.m:7:17: warning: unused variable 'arr4' [-Wunused-variable]
GrowableArray *arr4 = [[GrowableArray alloc] initWithElementSize...
^
test.m:22:8: warning: unused variable 'data2' [-Wunused-variable]
int *data2 = arr2.data;
^
2 warnings generated.
Compiling file GrowableArray.m ...
Linking tool test ...
./obj/test.obj/test.m.o: In function `main':
C:/GNUstep/msys/1.0/home/Mike Farrell/arctest/test.m:17: undefined reference
to
`objc_msgSend'
C:/GNUstep/msys/1.0/home/Mike Farrell/arctest/test.m:17: undefined reference
to
`objc_msgSend'
C:/GNUstep/msys/1.0/home/Mike Farrell/arctest/test.m:18: undefined reference
to
`objc_msgSend'
C:/GNUstep/msys/1.0/home/Mike Farrell/arctest/test.m:18: undefined reference
to
`objc_msgSend'
C:/GNUstep/msys/1.0/home/Mike Farrell/arctest/test.m:21: undefined reference
to
`objc_msgSend'
./obj/test.obj/test.m.o:C:/GNUstep/msys/1.0/home/Mike
Farrell/arctest/test.m:22:
more undefined references to `objc_msgSend' follow
collect2: ld returned 1 exit status
clang.exe: error: linker (via gcc) command failed with exit code 1 (use -v
to se
e invocation)
make[3]: *** [obj/test.exe] Error 1
make[2]: *** [internal-tool-all_] Error 2
make[1]: *** [test.all.tool.variables] Error 2
make: *** [internal-all] Error 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: ***JUNK MAIL*** FW: libobjc compile issue on mingw,
Did anyone figure this out??? <=