And after you create the file for the first time, you will need to change 
its permissions
so that it is executable.
use an incantation like:
sudo chmod 755 myprogram.c

You will really need to become familiar with the basics of Linux, if you 
are 
working on a Linux platform like the BeagleBone Black.

--- Graham

==

On Friday, March 25, 2016 at 7:33:35 AM UTC-5, c...@isbd.net wrote:
>
> Wadi Ben Rhouma <wadi.ben...@gmail.com <javascript:>> wrote: 
> > [-- text/plain, encoding quoted-printable, charset: UTF-8, 66 lines --] 
> > 
> > thx ,sorry i have another question, i'm not failiar with LINUX , so can 
> u 
> > help me with this , how can i write a C code on the terminal and excute 
> it 
> > on my BBB ?? 
> > 
> Create your code in a file called, say, myprogram.c. 
>
> Then:- 
>
>     gcc -o myprogram myprogram.c 
>
> This will create a compiled program called myprogram which you can 
> execute by typing its name at the command prompt.  For C++ you can do 
> the same using g++ instead of gcc. 
>
> For more complex programs and libraries it gets more involved. 
>
> -- 
> Chris Green 
> · 
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to