Subject: Re: lang/perl5 on IRIX
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 12/03/2006 10:24:31
--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Christian Biere <christianbiere@gmx.de> wrote:
> Christian Biere wrote:
> > The build won't succeed though because Configure thinks it
> > knows more about IRIX and apparently fails to identify GCC
> > in the hints/irix_6.sh because it refers to "$cc" which
> > apparently is not "gcc" but "cc" (but still GCC) here. It
> > should refer to "$gccversion" instead. I've fixed the latter
> > with the sledgehammer but it still breaks later.
>=20
> The build actually succeed after setting CC to gcc in mk.conf.
> PKGSRC_COMPILER is correctly set to gcc. I suspect my symlink
> cc -> gcc confuses some packages which derive false assumptions
> from the name of the executable.

I believe it's a very common setup to have cc symlinked to gcc.  The
IRIX freeware package for gcc provides this link, too.  Maybe we should
check for this during bootstrap process and if found set CC in mk.conf?

-Jan

--=20
42

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFFcxZffFtkr68iakwRAlBlAKC3AlMYnYJ9XdYC8zJT1mrZNMOuYACgga/f
hzVldcG7trWK8g4zLVJf0t8=
=dZ8b
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--