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 Oct 29, 2012 1:54 PM, "Perry Smith" wrote:
>
> My original logic in adding them to libstdc++.a is they are only used (called) by code automatically produced by g++ and not gcc.

That doesn't make sense. Both gcc and g++ are just driver programs
that invoke the appropriate compiler program, which for C++ is
cc1plus. So C++ code can be compiled by gcc, and doesn't necessarily
link to libstdc++.

Putting the files in libsupc++ might make sense but libstdc++ is
definitely wrong.


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