Subject: Re: gnu/usr.bin/gcc3/backend needs a cc and more ...
To: Jeremy C. Reed <firstname.lastname@example.org>
From: James Chacon <jmc@NetBSD.org>
Date: 02/10/2005 21:20:44
On Fri, Feb 11, 2005 at 05:07:36AM +0300, Valeriy E. Ushakov wrote:
> On Thu, Feb 10, 2005 at 16:11:03 -0600, James Chacon wrote:
> > On Thu, Feb 10, 2005 at 01:25:38PM -0800, Jeremy C. Reed wrote:
> > > 4) tools/groff needs C++. So I set
> > > HOST_CXX=/home/reed/netbsd/hp700/tools/bin/hppa--netbsd-c++ (since I had
> > > done similar with cpp above). But that still failed with:
> > >
> > > /home/reed/netbsd/hp700/tools/lib/gcc-lib/hppa--netbsd/3.3.3/../../../../hppa--n
> > > etbsd/bin/ld: crt0.o: No such file: No such file or directory
> > >
> > > So I used HOST_CXX=/usr/gcc3/bin/c++ and that worked.
> > I beleive this is documented also (that you need a C++ compiler). If it's
> > not fully documented about HOST_CXX file a PR for that.
> > >
> > > (I guess native c++ should not be used for making tools.)
> > Yes
> Eh, wait a minute. We are building crosstools so we indeed need a
> *native* compiler to compile them. Obviously, you want the tools to
> run on your host machine.
Thats what I indicated. You need a native c++ compiler for the groff part.
> We are not building target's groff, we are building nbgroff to format
> man pages during the crossbuild.
We're building groff (there's not really a "cross" groff per se. It's just
a tool to format text). It just needs C++