--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 20:05
---
Sorry, the key was the -no-undefined bit.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23215
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 17:32
---
Sorry that this is not a nice diff, but I am working from unclean sources
(mingw 3.4.4 snapshot source)
It appears that libobjc/Makefile.in needs a target like this:
libobjc.la: $(OBJS)
$(LIBTOOL_LINK
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 14:17
---
Subject: Re: libobjc doesn't work on windows.
I did try --enable-shared, and it still did not compile as a dll. Either
the configure in the CVS repos is not up to date and needs to be regenerated
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 13:52
---
No no, it is not a duplicate. You will see that test case #1 will still fail
even after you fix bug 18255. libobjc fails to initialize statics if the
first static was initialized as a side effect of being
c doesn't work on windows.
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libobjc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeremy at deadbeef dot com
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 13:44
---
Created an attachment (id=9422)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9422&action=view)
test case #2b
See attachment 9421.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23214
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 13:44
---
Created an attachment (id=9421)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9421&action=view)
test case #2a
Requires the protocolCase2b.m attachment as well.
Compile using gcc -g protocolC
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 13:41
---
Created an attachment (id=9420)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9420&action=view)
Test case #1
Complie like this
gcc -g protocolCase1.m -lobjc -o protocolCase1
then run the prog
--- Additional Comments From jeremy at deadbeef dot com 2005-08-03 13:39
---
Created an attachment (id=9419)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9419&action=view)
Patch to init.c in libobjc to fix protocol problem.
This patch is relative to CVS.
--
alize protocols in some cases
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libobjc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jeremy at deadbeef do
10 matches
Mail list logo