Doing stuff in C for the first time, and I can get code to compile just fine.
However, for reasons that are completely beyond me, it simply refuses to run a.out (or whatever choose to have the output be named.)
(bash: a.out: command not found)
Yes, I'm in the right directory and such. If I do 'gdb a.out' and then 'run' the program functions happily. It just doesn't work from the shell.
What the hell is the deal with this?
However, for reasons that are completely beyond me, it simply refuses to run a.out (or whatever choose to have the output be named.)
(bash: a.out: command not found)
Yes, I'm in the right directory and such. If I do 'gdb a.out' and then 'run' the program functions happily. It just doesn't work from the shell.
What the hell is the deal with this?
Comment