Mail Archives: djgpp-workers/1998/03/18/12:26:28
> Why do we need to always link in crtf.o? Isn't it *only* for C++
> programs?
My guess was that exception handling should work in c programs as well,
but a quick test seems to show that its c++ only. I don't have
any docs to go off of though.
> (Can we know, on the lib/specs level, that this is a C++
> program?)
I don't see how we could possible know this. The only way I can think
of is to do the collect2 way of dissecting the object file to
see what it is.
> Also, don't we need crt0.o to be the first one of the two?
I didn't think that the order of .o files mattered on the link line.
- Raw text -