groff dependancy on libstdc++

Werner LEMBERG wl@gnu.org
Tue May 7 15:52:00 GMT 2002


> > > 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



More information about the Gcc-bugs mailing list