This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: groff dependancy on libstdc++
- From: Werner LEMBERG <wl at gnu dot org>
- To: chs at baltic-online dot de
- Cc: bug-gcc at gnu dot org
- Date: Wed, 08 May 2002 01:04:46 +0200 (CEST)
- Subject: Re: groff dependancy on libstdc++
- References: <20020502170429.GA13325@baltic-online.de><20020507.074043.66153229.wl@gnu.org><20020507144622.GA18824@baltic-online.de>
> > > 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