This is the mail archive of the gcc-bugs@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: groff dependancy on libstdc++



> > > When groff is compiled, a dependency on libstdc++ can be
> > > observed in the resulting executable.  This is not desirable;
> > > while the machine that groff is being built on has this library
> > > installed, other machines on which groff is intended to be used
> > > do not.
>
> > It's not clear to me what you expect; compiling with
> > `-nodefaultlib' doesn't work.  You must add -lc and -lg++, and the
> > latter depends on libstdc++.
>
> I'm just wondering if there's a way of compiling groff that avoids
> the dependancy on libstdc++.

Can someone from the GCC people answer this?  groff uses the C++
language with home-brown classes only.


    Werner


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