This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> struct-layout-1_generate.c is run on the host, not on the target. > And for hosts AFAIK GCC requires 32-bit int. But the structures it generates assume 32-bit ints: T(0,enum E2 a:31;,B(0,a,e2_m1,e2_0)) You can't have a 31 bit enum on a 16 bit target. You get messages like this: dj.c:3: error: width of 'a' exceeds its type
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |