This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Floating point representation with Ecos
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Ramiro C. Carvalho" <ramiro dot carvalho at uol dot com dot br>
- Cc: Andrew Lunn <andrew at lunn dot ch>, eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 1 Mar 2006 20:27:00 +0100
- Subject: Re: [ECOS] Floating point representation with Ecos
- References: <001d01c63c96$ca6e1210$326062c8@homeuser> <20060301084029.GQ18806@lunn.ch> <000201c63d5d$e8226960$b45e62c8@homeuser>
> I can make it very simple to avoid killing you of boredom: How can i make
> CYG_DOUBLE_BYTEORDER equal to CYG_LSBFIRST for my Ecos build?
Try deleting from hal/arm/arch/current/include/basetype.h
#define CYG_DOUBLE_BYTEORDER CYG_MSBFIRST // Big? endian
The value will then be set from infra/current/include/cyg_type.h which
will set it the same as the byte order.
However, digging further, i don't think this will make a
difference. The structure defined in ieeefp.h is only used by the mips
processors.
So i think it is a compiler issue.
http://sources.redhat.com/ml/crossgcc/2003-06/msg00060.html
So you will have to see what you can configure when building a new
version of gcc.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss