Subject: Re: pkgtools/libnbcompat/ uses wrong CC
To: Todd Vierling <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 02/15/2005 14:37:19
On Tue, 15 Feb 2005, Todd Vierling wrote:

> > Does anyone know where CC is set to just gcc? And why does
> > pkgtools/libnbcompat/ wrong CC?
> The compiler wrappers strip the pathname from CC in order to intercept calls
> to the compiler.  The underlying implementation in ${WRKDIR}/.gcc/bin should
> end up indirecting to the real pathname you supplied.

I don't have a ${WRKDIR}/.gcc/

And it is not under ${WRKDIR}/.wrapper and my
work/.wrapper/.wrapper_CC_done is empty.

The above is for pkgtools/pkg_install.

Other packages (such as x11/py-qt3-base) do have work/.gcc/bin/gcc:

exec /usr/pkg/gcc3/bin/gcc "$@"

Is the problem caused by NO_BUILDLINK=           # defined ?

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links