Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2015 20:33:39 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Thierry Thomas <thierry@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r400131 - in head/sysutils/uniutils: . files
Message-ID:  <20151024183339.GF40371@ivaldir.etoilebsd.net>
In-Reply-To: <20151024182017.GA77173@FreeBSD.org>
References:  <201510241648.t9OGmnYG090145@repo.freebsd.org> <20151024172012.GA52037@FreeBSD.org> <20151024180757.GE40371@ivaldir.etoilebsd.net> <20151024182017.GA77173@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nYySOmuH/HDX6pKp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 24, 2015 at 06:20:17PM +0000, Alexey Dokuchaev wrote:
> On Sat, Oct 24, 2015 at 08:07:57PM +0200, Baptiste Daroussin wrote:
> > On Sat, Oct 24, 2015 at 05:20:12PM +0000, Alexey Dokuchaev wrote:
> > > On Sat, Oct 24, 2015 at 04:48:49PM +0000, Thierry Thomas wrote:
> > > > New Revision: 400131
> > > > URL: https://svnweb.freebsd.org/changeset/ports/400131
> > > >=20
> > > > Log:
> > > >   - Fix hard-coded endian assumption;
> > > > [...]
> > > >=20
> > > > ++[ $(( $(printf '\1' | od -dAn) )) -eq 1 ] && end=3Dle || end=3Dbe
> > >=20
> > > Nice trick! ;)
> >=20
> > Nice trick for sure, but not really cross building friendly :(
>=20
> Hmm, right, didn't think of that.  Perhaps the framework should provide
> some {HOST,TARGET}_ENDIANNESS variables (if it does not already)?
>=20
> ./danfe

As soon as cross building is officially supported, we will for sure provide=
 such
vars.

Bapt

--nYySOmuH/HDX6pKp
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlYrzwMACgkQ8kTtMUmk6ExkJgCgix0mploT5nwg3qysvbqR9ObE
dTAAn3CmKZzid6pIYEySHrg37glZxFvW
=tCjM
-----END PGP SIGNATURE-----

--nYySOmuH/HDX6pKp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151024183339.GF40371>