Subject: Re: problem: mkdep vs. -nostdinc++
To: Thomas Klausner <>
From: Todd Vierling <>
List: tech-toolchain
Date: 05/27/2003 18:21:28
On Tue, 27 May 2003, Thomas Klausner wrote:

: The second part is #ifdef CYGWIN, so let's ignore it for now.
: updating cache config.cache
: configure: creating ./config.status
: config.status: creating
: config.status: creating config.h
: /home/wiz/cvs/src/tools/obj.i386/tools.NetBSD-1.6L-i386/bin/nbhost-mkdep -a  -I. -I./include -I/home/wiz/cvs/src/tools/compat -DHA
: /home/wiz/cvs/src/tools/obj.i386/tools.NetBSD-1.6L-i386/bin/nbhost-mkdep -a  -I. -I./include -I/home/wiz/cvs/src/tools/compat -DHA
: /home/wiz/cvs/src/tools/obj.i386/tools.NetBSD-1.6L-i386/bin/nbhost-mkdep: unknown option: -nostdinc++

Huh?  Why is this running autoconf's configure *and* running NetBSD's
${MKDEP} (aka "nbhost-mkdep")!?  In src/tools, you do a "configure"-based
compile and a "make" on the generated tree, OR a BSD-Makefile compile, but
not both on the same program.

That much aside, nbhost-mkdep should never be passed -nostdinc++.
nbhost-mkdep is used specifically by BSD-Makefile based stuff in src/tools,
and I believe src/tools/ has the definitions for overriding how
DESTDIR and MKDEP work for dependencies.

-- Todd Vierling <>