From: gosha <embedded@nm.ru> To: community@lists.altlinux.org Cc: devel-kernel@lists.altlinux.org Subject: [d-kernel] big_endian <-> little_endian Date: Tue, 15 Aug 2006 13:36:35 +0400 Message-ID: <20060815093636.4118.qmail@flock1.newmail.ru> (raw) Поясните пожалуйста по переносимости данных между машинами Big/Little endian на магнитных носителях. - Допустим имеем структуры данных, представляющие собой 64-битные слова. - Данные пишутся/читаются на диск при помощи read()/write() на обоих машинах. - Как я понимаю, перед вызовами read()/write() к данным должны быть пименены макросы преобразования данных? - Вопрос собственно, насколько гарантированно можно считать, что если Linux и все приложения собраны c ключем big_endian: - я могу, имея инсталляционный CD-ROM ARM-big-endian-Linux, распаковать на Intel X86 хосте его на жесткий диск target-машины, после подцепив этот диск к target-big-endian-машине. Насколько гарантировано, что приложения базового репозитория cd-rom прочтут все данные верно. Насколько Linux и его базовый репозиторий в этом отношении корректен? Спасибо.
reply other threads:[~2006-08-15 9:36 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060815093636.4118.qmail@flock1.newmail.ru \ --to=embedded@nm.ru \ --cc=community@lists.altlinux.org \ --cc=devel-kernel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git