Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Lennert Buytenhek <buytenh+debian <at> wantstofly.org>
Subject: Bug#336080: dpkg-cross: Please add big-endian arm (armeb) support
Newsgroups: gmane.linux.debian.devel.bugs.general
Date: Friday 28th October 2005 13:22:54 UTC (over 11 years ago)
On Fri, Oct 28, 2005 at 10:46:13AM +0400, Nikita V. Youshchenko wrote:

> > The attached patch adds support for the big-endian arm (armeb)
> > architecture.  Please consider applying.
> 
> Ok, applied to CVS.

Balshoje spasibo!


> However, autoconf file (cross-config.armeb) is also needed. Could you 
> provide one?

Oh.  Regular 'arm' didn't have a cross-config either, so I assumed
that that was not mandatory.  But it's good to have in any case, yes.

This looks appropriate for arm (yes, chars are unsigned by default):

ac_cv_c_bigendian=no
ac_cv_c_char_unsigned=yes
ac_cv_sizeof_long_long=8
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_long=4
ac_cv_sizeof_unsigned_long=4
ac_cv_sizeof_int=4
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_short=2
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_char=1
ac_cv_sizeof_unsigned_char=1
ac_cv_sizeof_signed_char=1
ac_cv_sizeof_float=4
ac_cv_sizeof_double=8
ac_cv_sizeof_long_double=8
ac_cv_sizeof_void_p=4
ac_cv_sizeof_char_p=4
ac_cv_sizeof_off_t=4

For armeb, the same but with ac_cv_c_bigendian set to 'yes':

ac_cv_c_bigendian=yes
ac_cv_c_char_unsigned=yes
ac_cv_sizeof_long_long=8
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_long=4
ac_cv_sizeof_unsigned_long=4
ac_cv_sizeof_int=4
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_short=2
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_char=1
ac_cv_sizeof_unsigned_char=1
ac_cv_sizeof_signed_char=1
ac_cv_sizeof_float=4
ac_cv_sizeof_double=8
ac_cv_sizeof_long_double=8
ac_cv_sizeof_void_p=4
ac_cv_sizeof_char_p=4
ac_cv_sizeof_off_t=4
 
CD: 13ms