This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: add .cc files to libgcc.a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]