endians
Bill Campbell
bill at celestial.com
Mon Nov 28 16:18:39 PST 2005
On Mon, Nov 28, 2005, Kenneth Brody wrote:
>Quoting Bill Campbell (Mon, 28 Nov 2005 15:34:52 -0800):
>[...]
>> >Quoting Dennis Malen (Mon, 28 Nov 2005 16:58:43 -0500):
>> >
>> >> Jim,
>> >>
>> >> I ran it as a shell script. I don't have a C Compiler on the RISC
>> box.
>[...]
>> An easy way to determine the endianness of a machine that has a
>> reasonably current version of python is with a script like this:
>[...]
>> Perl has something similar, but less intuitive as it seems backwards
>> for little endian machines:
>[...]
>
>What are the odds that the C-less system has Perl, let alone Python?
Quite good I would think. Even SCO now has perl standard on their systems
(even though it's that communist plot, open source :-).
I could get a lot of work done on a system with python or perl, and no C
compiler if there were enough good binaries of open source software
available (e.g. Fink on OS X).
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
Many companies that have made themselves dependent on [the equipment of a
certain major manufacturer] (and in doing so have sold their soul to the
devil) will collapse under the sheer weight of the unmastered complexity of
their data processing systems.
-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
More information about the Filepro-list
mailing list