Article View: gnu.gcc.bug
Article #1545Re: Objective-C gcc bug?
From: Steve Byrne
Date: Tue, 15 Dec 1992 13:46
Date: Tue, 15 Dec 1992 13:46
13 lines
960 bytes
960 bytes
[Problem description about _OBJC_SELECTOR_REFERENCES] I too ran into this problem. I think it's a bug. What does make it work is doing a message send somewhere in one of the methods. I don't know whether it has to be an instance method, or whether class methods will do, but just doing a single method invocation seems to do the trick. Using this, I have been able to get Objective C programes to compile and execute properly. Steve PS: Don't forget to put -lobjc on the link line :-)
Technical Details
Message-ID:
<SBB.92Dec15084619@laplace.eng.sun.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!laplace.eng.SUn.COM!sbbReferences:
<9212052029.AA01394@media-lab.mit.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!laplace.eng.SUn.COM!sbb From: sbb@laplace.eng.SUn.COM (Steve Byrne) Subject: Re: Objective-C gcc bug? Message-ID: <SBB.92Dec15084619@laplace.eng.sun.com> Sender: gnulists@ai.mit.edu Organization: FSF hackers, Smalltalk division References: <9212052029.AA01394@media-lab.mit.edu> Distribution: gnu Date: Tue, 15 Dec 1992 13:46:19 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 15