Subject: Re: C++ program handling in
To: Jason R Thorpe <>
From: Todd Vierling <>
List: tech-toolchain
Date: 01/04/2002 13:34:54
On Mon, 31 Dec 2001, Jason R Thorpe wrote:

: The patch below adds support for C++ programs to <> by checking
: to see if the program's Makefile has set PROG_CXX, adds support for pulling
: in the additional support libraries for GCC 3.x (by testing to see that
: HAVE_GCC3 is defined), and includes all the necessary changes to make our
: in-tree groff build with GCC 3.1 (gcc-current).

Looks fine to me, albeit that -lstdc++ -lm should always be included.  I
know it's not "needed" for groff and gcc 2.95, but it's a good idea to make
it consistent, since linking with "c++" without DESTDIR will add them.

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --