delorie.com/djgpp/faq/dev-probs/bad-objc.html   search  
I compile an Objective-C program, but get unresolved symbols.

I can't compile the Objective-C test program which came with DJGPP.

Objective-C is broken in gcc 2.6.0. If you use that version, you'll have to upgrade to version 2.6.3 or higher.

Also, make sure you add the -lobjc parameter after your objects and libraries on the gcc command line.


  webmaster     delorie software   privacy  
  Copyright © 1995     Updated Feb 1995