View Single Post
Posts: 126 | Thanked: 327 times | Joined on Nov 2009 @ Finland
#52
Originally Posted by alex94 View Post
Thanks enboss gcc is now on my machine.
I can compile C files, but how can i execute them?
I tried:
$ sudo gainroot
$ ./test
Error is: Permission denied
So i tried:
$ sudo ./test
but this doesn't work too
sudo gainroot
chmod 777 test
./test

EDIT: chmod only needs to be done once.
 

The Following User Says Thank You to Lehto For This Useful Post: