This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building collect2 for C?
"E. Weddington" <eric@ecentral.com> writes:
> On 16 Mar 2004 at 9:59, Ian Lance Taylor wrote:
>
> > "E. Weddington" <eric@ecentral.com> writes:
> >
> > > In my mind, this implies that collect2 is only necessary for compiling C++,
> > > and not necessary for C. Is this correct?
> >
> > Yes.
>
> On 16 Mar 2004 at 9:07, David Edelsohn wrote:
>
> > GCC C code can include constructors, destructors, and exception
> > handling frames.
>
> Which is it then?
David is right and I am wrong. I forgot about gcc extensions.
> No, not really. The real bug that I'm trying to work around is 14316 above.
> 14316 contains a link to a discussion from over a year ago between Zack and DJ
> about Zack's proposed patch. I don't fully understand the reasons DJ gave for
> blocking that patch: I can't tell from that discussion whether it's an
> objection based on libiberty itself, or an objection based on that the proposed
> patch doesn't work for DJGPP.
Zack's patch is, in my opinion, poorly written. I pointed out the
right way to do it a while back.
Since this came up again, I'm working on what I consider to be a
correct patch. I'll send it out later today.
Ian