raman narasimhan wrote:
> i'm new to debian.. after compilation whenever i type ./a.out, bash says
> permission denied or says segmentation fault...
> how do i resolve the problem ?

If you are getting a permission denied message, that means your binary
executable, the a.out in your case, does not have 'x' bit set. Do
$> chmot u+x a.out

But if you are using gcc, I think you should not be getting this problem.

Next, if you are getting a segmentation fault, you are illegally trying
to access a memory location. To catch where the problem is, one way is
to use the gdb debugger. You can search google to see how to use gdb to
find what is causing the segmentation fault.

If you need more help, just ask.

Good luck,
->HS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to