Hi, list! I'm using cegcc-gcc430.tar.gz from cegcc.sf.net.
And hit two issues. First is that __attribute__ ((packed)) is not working, #pragma pack(1) is ok. Second is strange. int len =strlen("index"); int cde_index_size =sizeof(struct zip_cd)+len; int offset =m->eoc->zipecsz-cde_index_size; struct zip_cd *cd =binfile_read_cd(m, offset, len); This calculates offset -5 , i.e. len is zero when calulating. int len; int cde_index_size; int offset; struct zip_cd *cd; len = strlen("index"); cde_index_size = sizeof(struct zip_cd)+len; offset = m->eoc->zipecsz-cde_index_size; cd = binfile_read_cd(m, offset, len); Does the job. I've read that there is a problem with wm6.1 dlls, but failed to find clear explanation of how exactly to get cegcc app running on wm6.1. If the problem is with dlls is it possible to link cegcc.dll and cegccthrd.dll static, so the app can run on wm6.1. -- have fun, alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel