delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/09/16:06:25

Xref: news2.mv.net comp.os.msdos.djgpp:3637
From: bl227 AT cleveland DOT Freenet DOT Edu (Richard Smol)
Newsgroups: comp.os.msdos.djgpp
Subject: Difficulty with Objective-C
Date: 9 May 1996 16:04:02 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Lines: 23
Message-ID: <4mt51i$guq@madeline.INS.CWRU.Edu>
Reply-To: bl227 AT cleveland DOT Freenet DOT Edu (Richard Smol)
NNTP-Posting-Host: kanga.ins.cwru.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello there,

To try out the Objective-C portion of djgpp, I made a little test-file
for it. It compiles just fine, only on linking I get these messages:

test.m(.text+0x69): undefined reference to `objc_get_class'
test.m(.text+0x74): undefined reference to `objc_msg_lookup'
test.m(.text+0x97): undefined reference to `objc_msg_lookup'
test.m(.text+0xb7): undefined reference to `objc_msg_lookup'
test.m(.text+0xdd): undefined reference to `__objc_exec_class'
test.m(.text+0xec): undefined reference to `__objc_class_name_Object'

I don't get it. I installed everything just fine and link with -lobjc.a
(if I don't I get an error about THAT...so). Djgpp works fine with C &
C++ programs, but I haven't been able to make it work with Objective-C...
the most interesting of the C-versions in my opinion.

I'm in for any advice >:)

Greetz,

RS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019