This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [using gcc book] ch1 objective-c blurb
- From: Ziemowit Laski <zlaski at apple dot com>
- To: Chris Devers <cdevers at pobox dot com>
- Cc: GCC list <gcc at gcc dot gnu dot org>
- Date: Mon, 25 Aug 2003 18:38:06 -0700
- Subject: 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