This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Better way to get the arch/endianess?
- To: ac131313 at cygnus dot com
- Subject: Re: Better way to get the arch/endianess?
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Wed, 7 Jun 2000 12:29:07 -0400 (EDT)
- CC: binutils at sourceware dot cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- References: <393E42D9.5DD13CCA@cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Wed, 07 Jun 2000 22:40:57 +1000
> From: Andrew Cagney <ac131313@cygnus.com>
>
> I'm
> wondering if there isn't a better way - something that just returned the
> default configured architecture and byte order.
>
> Suggestions?
I understand that your problem is limited to non-native architectures,
yes? Because in a native configuration you could simply compute the
endiannes at runtime. Am I missing something?