Subject: Re: gcc-2.95.3 package on -current
To: Frederick Bruckman <fredb@immanent.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 03/29/2004 09:55:12
--dZHW955j1vPFHE0Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Mar 28, 2004 at 10:47:57AM -0600, Frederick Bruckman wrote:
> > If I set LD_PRELOAD to /usr/pkg/gcc-2.95.3/lib/libstdc++.so.4.0, it will
> > work, but obviously this is no solution.
>=20
> So that indicates a problem with the linker, doesn't it?
seems to me like the linker isn't doing anything wrong, we're just not
passing the path to the gcc libraries early enough in the command
line...
> > Anybody know of a way to get this to work properly?
>=20
> Here's an idea... Build an "ld" from binutils>=3D2.14 with
> "--with-lib-path=3D/usr/pkg/gcc-2.95.3/lib:/lib/usr/lib" and
> "--prefix=3D/usr/pkg/gcc-2.95.3", and then build gcc with
> "--with-ld=3D/usr/pkg/gcc-2.95.3/bin/ld". You could also try dumping
> binutils and gcc in the same directory, NetBSD 1.6-toolchain-style,
> and hope for the best.
that doesn't really sound like a solution for the pkg to me.
grant.
--dZHW955j1vPFHE0Q
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAZ2XgluYOb9yiFXoRAmCrAJkB3S7cemS/a3pE0sPpytm1cOzKFACePpFe
4E2HSc3r7QCKPEU+oo3A1nY=
=2LvE
-----END PGP SIGNATURE-----
--dZHW955j1vPFHE0Q--