add .cc files to libgcc.a

Ian Lance Taylor iant@google.com
Mon Oct 29 17:29:00 GMT 2012


On Mon, Oct 29, 2012 at 9:20 AM, Perry Smith <pedzsan@gmail.com> wrote:
>
> I'm sure they could be rewritten in C.  GNUs libc choose to do them in C++ probably because C++ just gives a nicer way to do things.

In the GNU libc __cxa_atexit and __cxa_finalize are written in C, not C++.

We should not add C++ code to libgcc.  We could add it to libsupc++.

Ian



More information about the Gcc mailing list