This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [using gcc book] ch1 objective-c blurb



On Monday, Aug 25, 2003, at 18:24 US/Pacific, Chris Devers wrote:


Here's my ObjC paragraph:

    Compilation of Objective-C programs is done with GCC itself,
    rather than a front end like G++ or GNAT. As with G++
    programs, the lack of a preprocessor and the direct build
    of object code from your Objective-C program source provides
    better object code and better debugging capabilities.

Huh? :-) Every language is handled by _some_ front end. I think what you mean to
say is that Objective-C is handled by the same _driver_ (i.e., 'gcc') as C code.
The 'g++' binary is also a driver, and (I believe) 'gnat' as well. :-)


Also, instead of 'lack of a preprocessor', I think you mean 'no need for an
intermediate C version', as in the C++ case. Objective-C definitely uses
a preprocessor -- otherwise, you wouldn't be able to handle #include's! :-)


--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]