I am trying to compile mattrib for ARM and there are alignment traps when I use mattrib. When I look into the compilation, I found that gcc is not honoring the "packed" attribute. Anyone has ran into this same problem? Thanks in advance!
Regards,
Jacky
ccache arm-none-linux-gnueabi-gcc -mcpu=arm1136j-s -mthumb-interwork -mno-thumb -isystem /home/jacky/projects/arm-none-linux-gnueabi/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_arm -DVENDOR_none -DOS_linux_gnueabi -isystem /home/jacky/projects/arm-none-linux-gnueabi/include -O -g -Wall -fno-strict-aliasing -I. -I. -c mattrib.c
In file included from mattrib.c:8:
msdos.h:148: warning: 'packed' attribute ignored for field of type 'char[8]' msdos.h:149: warning: 'packed' attribute ignored for field of type 'unsigned char[2]'
msdos.h:153: warning: 'packed' attribute ignored for field of type 'unsigned char[2]' msdos.h:154: warning: 'packed' attribute ignored for field of type 'unsigned char[2]'
[Prev in Thread]
Current Thread
[Next in Thread]
[Info-mtools] Alignment trap on arm,
Jacky Cheung<=