I don't use objective c. However I use GNU's C++ (g++). When I compile a program on the command line it goes like this:

g++ -o hello hello.cc mystring.cpp

Maybe there's more info on the MAN pages?

Good Luck,