Node:Objective C, Next:, Previous:Which language, Up:Compiling

8.6 Problems with Objective C

Q: How do I tell gcc my .cc file is to be compiled as Objective-C source?

Q: I compile an Objective-C program, but get unresolved symbols.

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

A: Give your sources the .m extension, or use -x objective-c switch to GCC, so it will know you mean to compile with Objective C.


This Cybermirror (Imprint | DE, US & UK) is powered by Philivision (DE, US & UK).
We were provided additional Internet Consulting by Cybersulting (DE, US & UK).