Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.programming Subject: Re: gcc-4.x.x and endianess Date: Sun, 14 Sep 2014 22:05:57 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: <87iokpkj4a.fsf@bsb.me.uk> References: <1szke6pe4wjgd$.wpsri6v7srjm.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="819"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Bk41ym4rnARdKX8hs8b0ZUNw1Mq/TxwI=" Cancel-Lock: sha1:n5XH0w18TdQvPzBAlHeYVaaUQbs= sha1:aGOpN1Rtd/91Z/zkTlEbIr/kAgo= X-BSB-Auth: 1.b343cafdfbb0fbc9d568.20140914220557BST.87iokpkj4a.fsf@bsb.me.uk Xref: csiph.com comp.programming:4764 "Dmitry A. Kazakov" writes: > On Sun, 14 Sep 2014 15:31:31 -0400, Bill Cunningham wrote: > >> I just write in C. With some >> machines you have to re-write code because of the machine's endianess. That >> might only be with assembley and old assemblers I don't know. > > That depends on how the code is written. With C chances are high, because > it does not offer any means to handle endianness nor to declare types in a > machine-independent way. But I guess people like C mostly for its > deficiencies. What means do other languages offer to handle endianness? -- Ben.