Subject: Re: need a C++ compiler? (was: CVS commit: pkgsrc)
To: Johnny C. Lam <jlam@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 02/02/2004 11:41:04
On Mon, 2 Feb 2004, Jeremy C. Reed wrote:
> I can not test now because the new mk/compiler/gcc.mk fails for me:
>
> sh: line 1: type: -pipe: not found
> ${TYPE} ${CC}
Now I see this is in my mk files:
/usr/share/mk/Linux.sys.mk:CC?= cc -pipe
/usr/share/mk/sys.mk:CC?= cc -pipe
(From mk-files package.)
Maybe the first word can be chopped out of the CC?
I guess it will break other things too:
$ cc -pipe -V
cc: `-V' must come at the start of the command line
But this works:
$ cc -pipe -dumpversion
3.3.2
And "cc -pipe -v" works too.
Jeremy C. Reed
http://www.reedmedia.net/