This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Network programming for eCos under linux
- To: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Subject: Re: [ECOS] Network programming for eCos under linux
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 08 Aug 2001 14:27:17 +0100
- CC: "Trenton D. Adams" <tadams at theone dot dnsalias dot com>, "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- References: <019301c11f92$0aad4b60$090110ac@TRENT> <20010808093506.B3658@biferten.ma.tech.ascom.ch>
Andrew Lunn wrote:
>
> I found some compiler bugs. Code that worked with the plain linux
> compiler did not with the arm-elf. These were to do with access to non
> aligned memory.
I'm not sure this is a compiler bug - I would suspect the linux compiler
can't access non-aligned memory either, but at a guess the kernel catches
the exception and emulates it for you. If that is the case, it's best
avoided as performance would suck.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine