This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sizeof different in x86 and arm.


Hi:
    I have a simple struct as follow
    
    struct test_align
     {
     unsigned char Name[21];
     unsigned char Version[8];
     };

    But on cygwin for x86,the sizeof(struct test_align) is 29;
    
    but on cygwin for arm,the sizeof(struct test_align) return 32
    
    WHY.

  



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]