Maker Pro
Maker Pro

Embedded Project In Linux

bushtech

Sep 13, 2016
1,025
Joined
Sep 13, 2016
Messages
1,025
It looks like you have downloaded the packages but not installed them.

Do as shumifan50 suggested in his last post and type :
cd~
and
apt-get install sdcc

this should install sdcc which you can then check by running sdcc by typing sdcc.

if this works do the same for cc1111
 

vead

Nov 27, 2011
473
Joined
Nov 27, 2011
Messages
473
It looks like you have downloaded the packages but not installed them.

Do as shumifan50 suggested in his last post and type :
cd~
and
apt-get install sdcc

this should install sdcc which you can then check by running sdcc by typing sdcc.

if this works do the same for cc1111
have you seen third picture. when I type apt-get install sdcc. I get some response which is show in third picture. so by response I think that packages are not installing correctly
 

bushtech

Sep 13, 2016
1,025
Joined
Sep 13, 2016
Messages
1,025
Have you got "Synaptic package manager" installed?
If so open it and search for sdcc. When I do that on my computer it lists 6 packages to be installed.
cc1111
mcu8051ide
sdcc
sdcc-doc
sdcc-libraries
sdcc-ucsim

ymmv as you might have some of these packages already
But you have to install them by ticking all of them them and clicking on "Mark all Upgrades" and "Apply"
 

vead

Nov 27, 2011
473
Joined
Nov 27, 2011
Messages
473
No I don't have that package manger. Now I think I have installed sdcc compiler successfully. I think to check installation sdcc -v command use
Screenshot from 2017-05-28 03-52-20.png
 

bushtech

Sep 13, 2016
1,025
Joined
Sep 13, 2016
Messages
1,025
The -v option just tells you what version of the package in question is installed.

To run sdcc just type sdcc

I suggest you install Synaptic. Just google install synaptic in ubuntu. Then you can check if something is installed or not

Also run update and upgrade again to ensure you are not missing something
 

vead

Nov 27, 2011
473
Joined
Nov 27, 2011
Messages
473
Have you got "Synaptic package manager" installed?
If so open it and search for sdcc. When I do that on my computer it lists 6 packages to be installed.
cc1111
mcu8051ide
sdcc
sdcc-doc
sdcc-libraries
sdcc-ucsim

ymmv as you might have some of these packages already
But you have to install them by ticking all of them them and clicking on "Mark all Upgrades" and "Apply"
as you told me , I followed your instruction. what will next step to run compiler ? I think I have to type sdcc in command mode. can you tell me step by step. what will procedure to run compiler. I have never installed any software in linux platform. I am totally new
 

shumifan50

Jan 16, 2014
579
Joined
Jan 16, 2014
Messages
579
You are now wasting our time as you don't do what you are told. End of help from me.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Type "man sdcc"

You will get the manual page for sdcc.

If you still have problems I would advise you to find a support group for sdcc.
 

Hellmut1956

Aug 11, 2014
69
Joined
Aug 11, 2014
Messages
69
Use tutorials in Youtube. There you will see, step by step how to do things. I use them regularly and I do find tutorials for any topic I am interested in! Once you do that you will notice that members are willing to help! Put effort in learning by yourselve!
 
Top