Subject: Re: g++ does not find libgcc
To: Georg Schwarz <geos@epost.de>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 03/28/2004 12:03:04
--v6gilOcl2gU05R9Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, Mar 21, 2004 at 10:26:33AM +0100, Georg Schwarz wrote:

> When using the pkgsrc c++ (from lang/gcc) by setting
> CXX=/usr/local/pkg/gcc-2.95.3/bin/g++ it in many cases cannot find
> libgcc.

try setting GCC_REQD=2.95 in /etc/mk.conf instead of overriding CC
and/or CXX.

pkgsrc has a compiler framework in mk/compiler which is designed to
handle the location of gcc libraries and amongst other things.

grant.


--v6gilOcl2gU05R9Q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAZjJYluYOb9yiFXoRAtU9AJ45pAji56Q8tw8PLy1UddeOvpEHVACfTA+x
NxqkScFeONbRGPyfic5z4BA=
=6ze0
-----END PGP SIGNATURE-----

--v6gilOcl2gU05R9Q--