Tuesday, March 2, 2010

How to install sdcc with 8051 support libraries

Generally when you install a sdcc we normally use the following step.

sudo apt-get install sdcc

the above command line will install sdcc but nowadays it doesnt support mcs51 8051 libraries so it is better uninstall the older version of sdcc and install sdcc-nf.

If you are not aware of the procedure how to remove the older version of sdcc and install sdcc-nf , then follow the steps given below.

dpkg --listfiles sdcc-libraries-nf
apt-cache show sdcc-nf
dpkg --list | grep sdcc
apt-cache search sdcc
sdcc --version
echo $PATH

the above commands will say about your older version of sdcc and its libraries.


the following command will remove the older version of sdcc

sudo dpkg --remove sdcc





the following command will install the newer version of sdcc-nf 

sudo apt-get install sdcc-nf

So now we are ready to use the 8051 related libraries.

Thanks to :
My Frnds and website resources provided by internet.

No comments:

Post a Comment