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: rename CC to GCC in gcc.c comments


Paolo Bonzini wrote:

>>> -CC also knows implicitly that arguments starting in `-l' are to be
>>> +GCC also knows implicitly that arguments starting in `-l' are to be 
>>> treated as compiler output files, and passed to the linker in their 
> 
> CC refers to gcc/g++/gcj/gfortran, which means that the change to GCC or
> gcc.c is actually more correct.

  I would suggest that "gcc" refers to the driver, whereas "GCC" is the
acronym for "Gnu Compiler Collection" and therefore refers to cc1 and friends,
so I reckon changing it to "GCC" makes sense, and even talking about "gcc
passing options to GCC" would be coherent... albeit confusing!

  I certainly don't think there's any need for the documentation to admit of
some hypothetical future case in which someone tries to use gcc with custom
specs to drive a foreign compiler!

    cheers,
      DaveK


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