[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need help with cc



On 08/23/08 02:18, Rich Healey wrote:

Ron Johnson wrote:
On 08/22/08 23:04, Daniel Watkins wrote:
On Fri, 22 Aug 2008 23:52:27 -0400
"raman narasimhan" <ramsn88@gmail.com> 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 get a 'permission denied', ensure that the execute bit is set
('chmod +x <file>').
But gcc sets the file permissions for you.

If you get a segmentation fault, that suggests that the code being
compiled is faulty.
Blame the compiler????  That's a CompSci 101 mistake.

Erm.. I believe he was blaming the coder :P

Then why didn't he just say that? "Segfault means you wrote buggy code."

--
Ron Johnson, Jr.
Jefferson LA  USA

"Do not bite at the bait of pleasure till you know there is no
hook beneath it."  -- Thomas Jefferson


Reply to: