Subject: Re: installing libs from lang/gcc*
To: Frank Cusack <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 01/15/2003 18:37:17
On Wed, 15 Jan 2003, Frank Cusack wrote:

> > Any suggestions for an option for pkgsrc/lang/gcc* so the install will
> > use $PREFIX/bin and $PREFIX/include and $PREFIX/lib and $PREFIX/man
> > instead of placing this under its own gcc directory.
> It does this already (works for me on SunOS).  The binary gcc3 package

With lang/gcc when not under SunOS it uses:
GCC_PREFIX=             ${PREFIX}/${PKGNAME}

> looks broken in that it does not include the libraries.  Is this what's
> biting you?  Or are you saying libstdc++ is in $PREFIX/lib/gcc-lib/...

No, it does install the libraries.

For example:

lrwxrwxrwx    1 root     root           34 Jan 13 18:09
/usr/lib/ -> /usr/gcc3-3.2.1/lib/

> Is this on Linux?


Now that you mention it works for SunOS, I see it would be trivial to make
it work for Linux too.

What do you all think? Should it default for
 GCC_PREFIX=             ${PREFIX}
for Linux and all non-NetBSD too?

Or should their be some option for this?

Thank you Frank.

   Jeremy C. Reed