This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: collect2 compiles C with g77 !
- To: law at cygnus dot com
- Subject: Re: collect2 compiles C with g77 !
- From: Jason Merrill <jason at cygnus dot com>
- Date: 25 Nov 1997 23:54:00 -0800
- Cc: egcs at cygnus dot com
- References: <315.880530262@cygnus.com>
>>>>> 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