Re: need help with cc



On 08/23/08 07:20, Hugo Vanwoerkom 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@xxxxxxxxx> 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.


When I just started with IBM I used to think that the PSW quit PSW-ing when I made mistakes.

It would be interesting to know how many people on this list know (without resorting to Google) what PSW means...

--
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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: need help with cc
    ... says permission denied or says segmentation fault... ... how do i resolve the problem? ... -- Thomas Jefferson ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: need help with cc
    ... how do i resolve the problem? ... But gcc sets the file permissions for you. ... -- Thomas Jefferson ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: need help with cc
    ... 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 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: recompiling the debian kernel..getting wierd messege.
    ... kernel by default. ... This takes and updates the .config file with all the stuff that's ... -- Thomas Jefferson ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Re: samba domain controller
    ... failing to resolve the name pdc.bollocks.com, even though it was able to ... I can see the shares and navigate them. ... I have a root user with a password. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)