Hi all, I installed sdcc on ubuntu JJ with: $ sudo apt-get install sdcc
The installation was successful but the 8051 sample codes didn't compile. Later I learnt that the include folder was not having all headers [in this case 8051.h] and many sub folders [mcs51, z80, picXX] were empty. But "man sdcc" worked fine. I uninstalled sdcc and downloaded this package: http://sdcc.sourceforge.net/snapshots/i386-unknown-linux2.5/sdcc-snapshot-i386-unknown-linux2.5-20090817-5492.tar.bz2 from http://sdcc.sourceforge.net/snap.php#Linux and followed the installation steps given in the tar file. This time it worked! The code compiled and all headers are available now. This is a snapshot of find: $ find /usr/ -name "8051.h" /usr/local/share/sdcc/include/mcs51/8051.h I want to know what went wrong with "apt-get install". Did anyone come across this before? regards, Sarma _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc