From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2072 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: need possibility to override default endianness Date: Wed, 10 Oct 2012 23:56:16 +0200 Message-ID: <5075EF00.6090400@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349905604 30628 80.91.229.3 (10 Oct 2012 21:46:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2012 21:46:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2073-gllmg-musl=m.gmane.org@lists.openwall.com Wed Oct 10 23:46:51 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TM473-00017F-21 for gllmg-musl@plane.gmane.org; Wed, 10 Oct 2012 23:46:45 +0200 Original-Received: (qmail 5625 invoked by uid 550); 10 Oct 2012 21:46:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 5617 invoked from network); 10 Oct 2012 21:46:38 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 Xref: news.gmane.org gmane.linux.lib.musl.general:2072 Archived-At: if you compile musl mips on mispel with landley's gcc 4.1.2, or gcc 3.4.6, bits/endian.h says the BYTE_ORDER == __BIG_ENDIAN, and breaks built apps (for example sha512 code used in butch). i know that more recent gcc's set the macro automatically, still: rather than overwriting that file manually i'd prefer if musl had a flag to indicate the desired endianness. i.e. ./configure --with-target-endian=little