Subject: Re: needing gcc lib (when building openssh)
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: tech-pkg
Date: 09/23/2003 15:59:01
--ncSAzJYg3Aa9+CRW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
"Jeremy C. Reed" <reed@reedmedia.net> wrote:
> On Tue, 23 Sep 2003, Jan Schaumann wrote:
=20
> > If you bring back the line
> >
> > LD=3D"${CC}" in the Makefile, it will compile fine.
>=20
> Thank you. It built now.
>=20
> Can you add it back? (Or why was it removed?)
I'll leave that to Grant, I think.
> By the way, I have been seeing the following a lot:
>=20
> cc: unrecognized option '-R/usr/lib'
>=20
> Does that matter?
Ah, well, if we were using ld(1), you wouldn't see the problem. If
we're using cc, we need to use -Wl,-R/usr/lib to pass '-R/usr/lib' to
the linker. Obviously, this is connected to the LD=3D"${CC}" change...
-Jan
--=20
chown -R us:enemy your_base
--ncSAzJYg3Aa9+CRW
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE/cKYFfFtkr68iakwRAtlYAKCf1hljwFIC+02PnCRzAzFX8cNooQCgvAtU
a3PyIF5pvtSVzUvtnCezwQs=
=m7UW
-----END PGP SIGNATURE-----
--ncSAzJYg3Aa9+CRW--