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

Re: need help with cc



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --
Rich Healey -              healey.rich@gmail.com
Developer / Systems Admin - OpenPGP: 0x8C8147807
MSN: bitchohealey@hotmail.com AIM: richohealey33
irc.psych0tik.net    -> #hbh #admins richohealey
irc.freenode.org     -> #hbh #debian PythonNinja
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkivudsACgkQLeTfO4yBSAcn7wCdHn7FmRHTDdf590vwuitNBd1/
IlcAniti8/z9GlgrZE1n8p52GHf1Rq4Q
=l0gy
-----END PGP SIGNATURE-----


Reply to: