Subject: Re: pkgsrc/bootstrap/bootstrap (solaris ABI 64)
To: None <tech-pkg@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 11/25/2006 17:06:07
--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Gilles Dauphin <Gilles.Dauphin@enst.fr> wrote:
=20
> That was a discuss with Joerg some month ago, and became a challenge for =
me ;)
> Today, I build a true 64bit Solaris10 pkgsrc's bootstrap.
> I install a working room for students and install over=20
> 500 true 64bit packages.
> I make a bulk build with over 3700 packages all are 64bits ABI.
> All is install in /usr/pkg/bin
> I did some works for sparc64 too and seems OK.
That sounds like great work that I'm sure we'd love to incorporate into
pkgsrc.
What kind of diffs were necessary for you to make all this happen? Do
you have them posted somewhere and/or documentation online? Did you
file PRs?
> -------------------------------------------------------
> #!/bin/sh
> #
> # appeler le gcc qui va bien
> #
>=20
> if [ "X$GCC_ABI" !=3D "X32" ] ; then
>=20
> case $1 in
> *print-search-dirs* )
> echo "install: /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/"
>=20
> echo "programs: =3D/usr/sfw/libexec/gcc/i386-pc-solaris2.10/3.4.3=
/:/usr/sf
> w/lib/gcc/i386-pc-solaris2.10/3.4.3/:/usr/ccs/bin/"
>=20
> echo "libraries: =3D/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/am=
d64/:/usr
> /sfw/lib/amd64:/lib/amd64:/usr/lib/amd64"
> exit 0
> esac
>=20
> exec /usr/sfw/bin/gcc.orig -m64 "$@"
So if all that's needed is the "-m64" flag, then there shouldn't be a
need to write a wrapper. Maybe we should just compare to what we do
with IRIX and adjust the mk files accordingly?
-Jan
--=20
'I have reached an age where my main purpose is not to receive
messages.' --- Umberto Eco, quoted in the New Yorker
--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFFaOh/fFtkr68iakwRAvBFAJ0YNWIEIn3d/p01sp+B/tzDaWHIbQCgkx8g
lgrLdXJMSrAHAXAMtFuiSOM=
=KEQV
-----END PGP SIGNATURE-----
--G4iJoqBmSsgzjUCe--