• Overcoming error 172???
    Hi When i type this, struct cmd_pkt{ int type; int OGF; int OCF; int len; unsigned int far data_pkt[256]; }; struct cmd_pkt c_pkt; After I complied it, it prompt me with this error...
  • error C172: '?DT?main': segment too big
    I got this message "error C172: '?DT?main': segment too big (act=137, max=128)" when I build my program. I dont know what's the problem can you give me a solution? By the way how can I put code into...
  • PDATA segment too big when commenting code
    I have a project that compiles to about 30KB, so it takes a while to load to my 8051. I'm trying to fix a small part, so I commented-out most of my main() routine. The linker now warns me and says it...
  • Program too big to fit
    We have a embedded software project running on 80C51. We meet tight code size issue to fit in 64KB. We wants to use optimize option in C compiler. But when we add ot(6,size) in makefile, the DOS promopt...
  • ZI-data too big
    Hi, I have the following BIG structure: typedef struct { BYTE c_re[3]; int c_gnrl; float c_time[2]; BYTE c_cmm[13]; int c_cmm_p[2]; BYTE c_ext[10]; int c_ext_p[10]; int c_stp[50][3...