Subject: Re: gcc-2.95.3 package on -current
To: Frederick Bruckman <email@example.com>
From: grant beattie <grant@NetBSD.org>
Date: 03/29/2004 09:55:12
Content-Type: text/plain; charset=us-ascii
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.
> 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
> > Anybody know of a way to get this to work properly?
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
-----END PGP SIGNATURE-----