Subject: Re: cc, gcc, cpp, g++, c++ symlinks
To: Jeremy C. Reed <reed@reedmedia.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/16/2003 09:49:05
On Wed, Oct 15, 2003 at 04:23:04PM -0700, Jeremy C. Reed wrote:

> It would be useful if there was some pkgsrc option to create symlinks for
> cc, gcc, cpp, g++, c++, et cetera.
> 
> POST-INSTALL)
> 	 ${LN} -sf ${GCC_PREFIX}/bin/c++ ${PREFIX}/bin/c++
> 	 ${LN} -sf ${GCC_PREFIX}/bin/g++ ${PREFIX}/bin/g++
> 
> (making sure that GCC_PREFIX is defined too.)
> 
> What do you all think?

why would you want/need to? multiple compiler packages will overwrite
each other's symlinks, so I would advise against it.

> This would be useful for me to make sure I automatically have symlinks for
> the compiler tools in my PATH (rather than adding /usr/.../gcc3/bin to my
> execution path).

if you are referring to building packages, you don't need to do this
as it's already handled in mk/compiler.mk.

grant.