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]

Re: collect2 compiles C with g77 !


>>>>> Jeffrey A Law <law@cygnus.com> writes:

>   In message <u97m9wgnfo.fsf@yorick.cygnus.com>you write:
>> How about passing -x c to sub-compiles?

> Which would then mean we could zap the #ifdef __cplus_plus gunk in the
> file collect2 builds and compiles.

Yep.

> My only concern was that there might be cases where it actually needed
> to call the same language (c/c++) for a sub-compile that was used to
> call collect2 initially.

For -frepo, that is the case.  And you probably want to use the same driver
anyway, because there's no reliable way to find the corresponding gcc driver.

Jason


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