[Bug libobjc/23215] libobjc doesn't work on windows.

2005-08-03 Thread jeremy at deadbeef dot com
--- 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

[Bug libobjc/23215] libobjc doesn't work on windows.

2005-08-03 Thread jeremy at deadbeef dot com
--- 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

[Bug libobjc/23215] libobjc doesn't work on windows.

2005-08-03 Thread jeremy at deadbeef dot com
--- 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

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2005-08-03 Thread jeremy at deadbeef dot com
--- 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

[Bug libobjc/23215] New: libobjc doesn't work on windows.

2005-08-03 Thread jeremy at deadbeef dot com
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

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2005-08-03 Thread 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

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2005-08-03 Thread jeremy at deadbeef dot com
--- 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

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2005-08-03 Thread jeremy at deadbeef dot com
--- 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

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2005-08-03 Thread jeremy at deadbeef dot com
--- 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. --

[Bug libobjc/23214] New: libobjc doesn't initialize protocols in some cases

2005-08-03 Thread jeremy at deadbeef dot com
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