Re: [uCsimm] snmpd from coldfire

From: Tom Walsh (tom@cyberiansoftware.com)
Date: Fri May 25 2001 - 06:12:56 EDT


Erwin Authried wrote:
>
>
> Yeah, just include <asm/byteorder.h>. And don't forget to compile with -O or -O2,
> otherwise the ntohs function will not be inlined. And since you are obviously
> using the gcc with my 32-bit PIC patch, don't forget to add a _cleanup() dummy
> function at the end of your object files, or add it to libc so that you can forget
> this nasty problem forever.
>

??? What?! You mean that gcc doesn't properly process the inline
statements unless the optimizer is turned on? That seems odd, doesn't
it?

Regards,

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:43 EST