From: George M. G. <gga...@co...> - 2004-06-06 17:18:18
|
Vamgelis, I applied sdcc 20046605 to a medium sized project that was developed with mcc. I compile to asm so that the output is readable. Some observations: 1. If an array is declared in a module but never actually used, the compiler generates a global declaration but does not create the variable proper. Work around is to create a dummy procedure that zeros the variables. 2. The following snippet compiles but dies in gpasm due to an undefined label. It generates a return address on the hardware stack using _000144_DS_ but does not generate the label. if (fp != NULL) (fp)(); 3. The make install in the device/pic16 clobbers the asm files. Not so nice for us who add their own asm entries to the libaries or who want to debug the libs!!!! Regards, George |