hello guys, i recently installed SDCC in ubuntu 11.04 from software center and tried to compile a program…..
but it shows an error that the header file 8052.h (or any of the other files) is not found
but when i browse through using nautilus i can find the header files in the "/usr/………/sdcc/include" directory
i think the compiler paths are correct, and i can see 8052.h in the same given folder
"SDCC_HOME" is an env variable, which needs to be set for SDCC tool chain to include the headers, libraries etc.,
Check this in your system. It has to point to the top folder that contains the bin, include, lib etc.,. If not properly set, set this env variable correctly.