Hello, friends!
 
Unfortunately I didn't managed to compile Unicon on Windows by default. I used the last version 4.9.3 of mingw32 on Windows 10. The process crashed on compiling xfsys.c file (which was produced by rtt from src/runtime/rsys.r). The gcc error is following:

fsys.r: In function 'Zreads':
fsys.r:1384:16: error: storage size of 'statbuf' isn't known
struct stat statbuf;
            ^

As I computed the problem is originated from the following lines of rsys.r

#if defined(NTGCC) && (WordBits==32)
#passthru #if (__GNUC__==4) && (__GNUC_MINOR__>7)
#passthru #define stat _stat64i32
#passthru #endif
#endif /* NTGCC && WordBits==32*/

It means that any attempts to redefine structure stat to something else fail. If I comment statement "#define stat _stat64i32" the compilation is successfull. The same problem is occured while compilation of rsys.r and rposix.r files.

I think, Jafar shall remove these redefinitions or fix them in some manner. By the way, the builded Unicon (afrer my own corrections in files mentioned above) was completly functional and fine working!

Thank you!

Best regards,

Sergey

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to