From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: collect2 compiles C with g77 ! Date: Wed, 26 Nov 1997 00:57:00 -0000 Message-id: References: <315.880530262@cygnus.com> X-SW-Source: 1997-11/msg00863.html >>>>> Jeffrey A Law 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