[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section describes the command-line options that are only meaningful
for Objective-C programs; but you can also use most of the GNU compiler
options regardless of what language your program is in. For example,
you might compile a file some_class.m
like this:
gcc -g -fgnu-runtime -O -c some_class.m |
In this example, only `-fgnu-runtime' is an option meant only for Objective-C programs; you can use the other options with any language supported by GCC.
Here is a list of options that are only for compiling Objective-C programs:
-fconstant-string-class=class-name
@"..."
. The default
class name is NXConstantString
.
-fgnu-runtime
-fnext-runtime
-gen-decls
-Wno-protocol
-Wselector