Yes.
sudo chmod 755 myprogram
or
sudo chmod 755 myprogram.o

--- Graham

On Fri, Mar 25, 2016 at 9:50 AM, Seppo Nikkilä <
[email protected]> wrote:

> myprogram.o
>
> On Fri, Mar 25, 2016 at 3:27 PM, Graham <[email protected]> wrote:
>
>> 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, [email protected] wrote:
>>>
>>> Wadi Ben Rhouma <[email protected]> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Developing next generation wireless audio
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/Q6Ed3hfRQag/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to