This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compilation Warning
- To: Fabrice_Gautier at sdesigns dot com (Fabrice Gautier)
- Subject: Re: [ECOS] Compilation Warning
- From: andrew dot lunn at ascom dot ch (Andrew Lunn)
- Date: Tue, 19 Sep 2000 13:14:27 +0200 (MET DST)
- Cc: ecos-discuss at sourceware dot cygnus dot com
> 7: warning: alignment of `tty_io_diag' is greater than maximum object file
> alignment. Using 4.
This is a problem i ran into on the ARM architecture. Jifl modified
the HAL table macros to use 8 bytes alignment by default. This causes
problems on some targets where the compiler does not support this
alignment. Have a look at the arm basetype.h. It should have at the end
#define CYGARC_ALIGNMENT 4
#define CYGARC_P2ALIGNMENT 2
You need the same in the i386 basetype.h
Andrew