tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: host endianness

On Mon, 08 Feb 2010, David Holland wrote:
> echo -n 'C!' | od -h | sed 's/[^1234]*//;s/2143/4321/p;d'

Host shells might not support "echo -n", so please use printf "%s" "C!"

Also, the above assumes an ascii-compatible environment on the
cross-build host, and I don't know whether other parts of the build
already assume that.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index