On Wednesday 28 June 2006 14:47, Jonas L wrote:
> Hi,
>
> Where can I find the arch files for running lwIP on an ARM7 using GCC? (no
> OS)
>
> If there is no suitable file, I need some tips about how to set up these
> defines to make the structs work:
> PACK_STRUCT_BEGIN
> PACK_STRUCT_STRUCT
> PACK_STRUCT_END
>
> /Jonas

The usual GCC stuff works. ie:

#define PACK_STRUCT_FIELD(x) x __attribute__((packed))
#define PACK_STRUCT_STRUCT __attribute__((packed))
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END

I believe the BEGIN/END stuff doesn't apply to GCC, so the above definition is 
fine.

(I've tested this with GCC on PPC405, and ARM920T)

Craig.


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to