From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Andrew Lunn Cc: "Trenton D. Adams" , "'eCos Discussion'" Subject: Re: [ECOS] Network programming for eCos under linux Date: Wed, 08 Aug 2001 06:27:00 -0000 Message-id: <3B713E35.B7C21FA@redhat.com> References: <019301c11f92$0aad4b60$090110ac@TRENT> <20010808093506.B3658@biferten.ma.tech.ascom.ch> X-SW-Source: 2001-08/msg00217.html 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