Steps use to execute c code on
Embedded Linux platform
Open Terminal:
login to Super user :
sudo su
password: system password
make a folder on Desktop :
(Location where you want to make)
cd Desktop/
mkdir abc
cd abc
make .c file using your vi editor or gedit editor:
vi 1stfile.c
or gedit 1stfile.c
compile the code :
gcc -o foldername file.ccheck the output:
./foldername or ./a.out
Posted by Embeddedforus
Comments
Post a Comment