This is the mail archive of the gcc-patches@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: PATCH: Make ObjC an extension of C


Ziemowit Laski wrote:-

> Hm... The whole point of my patch is to have ObjC be treated as an
> extension to another language, rather than a language on its own.
> Under your scenario, the user would wind up saying things like,
> '-lang-c89 -lang-objc', which I would personally find confusing.
> Please advise.

The driver does this silently for you, unless you have something else
in mind?  Check the output of gcc -v to see what currently happens;
there is a -lang-objc (which comes from objc/lang-specs.h or whatever
the file name is).

Neil.


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