From: Thorsten K. <Tho...@gm...> - 2004-12-11 13:18:52
|
Hi, since some days I'm not able to compile my C programs with the latest windows binaries anymore (last try was with sdcc-snapshot-i586-mingw32msvc-20041210.zip) Sometimes the compiler generates invalid code lines, like: ANDLW 0xfffc (a 8-bit immediate value is expected) or it crashes with a segmentation fault. The strange thing is, that it is very difficult to extract a small example which reproduces the error. When I remove some empty functions, or code which definitely doesn't relate to the errorounos 16-bit constants, the SIGSEGV disappears, but the wrong code is still generated. So, I'm really sorry that I cannot provide any more details. :-/ The code which fails can be downloaded from: http://www.ucapps.de/tmp/mios_c_wrapper_beta1.zip the SDCC options I'm using can be found in make.bat Best Regards, Thorsten. |